php-install Digest 3 Jan 2003 00:23:31 -0000 Issue 1183
Topics (messages 9484 through 9503):
Error Loading mcrypt.dll on Windows XP system
9484 by: Jim Bierlein
9488 by: Stephen Edmonds
9498 by: Jean Baptiste FAVRE
9499 by: Christoph Grottolo
Re: Segmentation Fault in child (poor child!)
9485 by: Damon
Index page
9486 by: thkiat
9489 by: Stephen Edmonds
Re: installing php on redhat
9487 by: Jaleen Liu
Problem with configure script for PHP 4.3.0 on Solaris 8
9490 by: Bill Thomason
Problem configuring PHP 4.3.0 with IMAP on RH 7.2
9491 by: Joerg Aldinger
PHP & HTTPD
9492 by: M A
9493 by: Michael Lougee
9494 by: M A
9495 by: Jonathan M. Slivko
9496 by: Chris Hewitt
Error
9497 by: Johnny Matthews
Re: [PHP-DEV] Re: Error Loading mcrypt.dll on Windows XP system
9500 by: Derick Rethans
Sybase
9501 by: Johnny Matthews
How to set include_path depending on the domain name
9502 by: inet
Installing php on AIX (4.3.3)
9503 by: Kirt Thomas
Administrivia:
To subscribe to the digest, e-mail:
[EMAIL PROTECTED]
To unsubscribe from the digest, e-mail:
[EMAIL PROTECTED]
To post to the list, e-mail:
[EMAIL PROTECTED]
----------------------------------------------------------------------
--- Begin Message ---
Hello,
My setup:
Windows XP Professional
php-4.3.0-Win32
Apache_2.0.43-win32-x86-no_ssl
In the directory c:\php-4.3.0-Win32\extensions, I have the file
php_mcrypt.dll.
The php.ini file, located in the c:\Windows directory, I have configured the
following:
; Directory in which the loadable extensions (modules) reside.
extension_dir = c:\php-4.3.0-Win32\extensions\
and
;Windows Extensions
;Note that MySQL and ODBC support is now built in, so no dll is needed for
it.
;
;extension=php_bz2.dll
;extension=php_cpdf.dll
;extension=php_crack.dll
;extension=php_curl.dll
a lot more.....
extension=php_mcrypt.dll
etc...
My problem is that I cannot get Apache to properly load the mcrypt module, I
keep getting the warning message:
Unknown(): Unable to load dynamic library
'c:\php-4.3.0-Win32\extensions\php_mcrypt.dll' - The specific module could
not be found.
Does anyone know what I am missing or if there is a workaround to this
issue. Any help would be appreciated. I am kind of new at this.
Thank You,
Jim
--- End Message ---
--- Begin Message ---
The most likely problem is that php_mcrypt.dll is not in the directory
c:\php-4.3.0-Win32\extensions. Check the directory and see if you can find
it. If not, then you will need to find a version for php 4.3.0 and place it
in the extensions folder before you can use it.
Good Luck
Stephen
----- Original Message -----
From: "Jim Bierlein" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 11:24 AM
Subject: [PHP-INST] Error Loading mcrypt.dll on Windows XP system
> Hello,
>
> My setup:
>
> Windows XP Professional
> php-4.3.0-Win32
> Apache_2.0.43-win32-x86-no_ssl
>
> In the directory c:\php-4.3.0-Win32\extensions, I have the file
> php_mcrypt.dll.
> The php.ini file, located in the c:\Windows directory, I have configured
the
> following:
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = c:\php-4.3.0-Win32\extensions\
>
> and
>
> ;Windows Extensions
> ;Note that MySQL and ODBC support is now built in, so no dll is needed for
> it.
> ;
> ;extension=php_bz2.dll
> ;extension=php_cpdf.dll
> ;extension=php_crack.dll
> ;extension=php_curl.dll
>
> a lot more.....
>
> extension=php_mcrypt.dll
>
> etc...
>
> My problem is that I cannot get Apache to properly load the mcrypt module,
I
> keep getting the warning message:
>
> Unknown(): Unable to load dynamic library
> 'c:\php-4.3.0-Win32\extensions\php_mcrypt.dll' - The specific module could
> not be found.
>
> Does anyone know what I am missing or if there is a workaround to this
> issue. Any help would be appreciated. I am kind of new at this.
>
> Thank You,
>
> Jim
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
Hi,
You need limcrypt.dll which is not provided by default.
Just download it here:
http://ftp.proventum.net/pub/php/win32/misc/mcrypt/php-4.3-mcrypt.zip ,
copy the files: php_mcrypt.dll in your extensions directory and
libmcrypt.dll in c:\windows\system32,
restart your apache and enjoy ;-))
See you
JB
"Jim Bierlein" <[EMAIL PROTECTED]> a écrit dans le message de news:
[EMAIL PROTECTED]
> Hello,
>
> My setup:
>
> Windows XP Professional
> php-4.3.0-Win32
> Apache_2.0.43-win32-x86-no_ssl
>
> In the directory c:\php-4.3.0-Win32\extensions, I have the file
> php_mcrypt.dll.
> The php.ini file, located in the c:\Windows directory, I have configured
the
> following:
>
> ; Directory in which the loadable extensions (modules) reside.
> extension_dir = c:\php-4.3.0-Win32\extensions\
>
> and
>
> ;Windows Extensions
> ;Note that MySQL and ODBC support is now built in, so no dll is needed for
> it.
> ;
> ;extension=php_bz2.dll
> ;extension=php_cpdf.dll
> ;extension=php_crack.dll
> ;extension=php_curl.dll
>
> a lot more.....
>
> extension=php_mcrypt.dll
>
> etc...
>
> My problem is that I cannot get Apache to properly load the mcrypt module,
I
> keep getting the warning message:
>
> Unknown(): Unable to load dynamic library
> 'c:\php-4.3.0-Win32\extensions\php_mcrypt.dll' - The specific module could
> not be found.
>
> Does anyone know what I am missing or if there is a workaround to this
> issue. Any help would be appreciated. I am kind of new at this.
>
> Thank You,
>
> Jim
>
>
--- End Message ---
--- Begin Message ---
Hi
Jean Baptiste Favre wrote:
> "Jim Bierlein" <[EMAIL PROTECTED]> a écrit dans le message de news:
> [EMAIL PROTECTED]
>> My problem is that I cannot get Apache to properly load the mcrypt
>> module, I keep getting the warning message:
>>
>> Unknown(): Unable to load dynamic library
>> 'c:\php-4.3.0-Win32\extensions\php_mcrypt.dll' - The specific module
>> could not be found.
>>
>> Does anyone know what I am missing or if there is a workaround to
>> this issue. Any help would be appreciated. I am kind of new at
>> this.
> Hi,
> You need limcrypt.dll which is not provided by default.
> Just download it here:
> http://ftp.proventum.net/pub/php/win32/misc/mcrypt/php-4.3-mcrypt.zip
> , copy the files: php_mcrypt.dll in your extensions directory and
> libmcrypt.dll in c:\windows\system32,
> restart your apache and enjoy ;-))
How about adding libmcrypt.dll to dlls folder of the windows distributions?
It's hard to find a matching binary on the web.
Christoph
--- End Message ---
--- Begin Message ---
> No, I don't think so. It shows you have both compiled-in and DSO loading.
Yup, I thought one method wasn't working so I switched to the other. Turns
out I got both working.
> A phpinfo() will show where your php.ini should be. Its an option that
> you compiled PHP with.
The phpinfo call was one of the tests causing the segmentation fault. I
read through the php bugs list and it turns out this was a known bug in
4.2.3 and it was fixed in 4.3.0-dev. I went to php.net and found that 4.3.0
was released over the break. Installing PHP 4.3.0 worked wonderfully.
Thanks for your help.
-
damon
----- Original Message -----
From: "Chris Hewitt" <[EMAIL PROTECTED]>
To: "Damon" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 7:32 AM
Subject: Re: [PHP-INST] Segmentation Fault in child (poor child!)
> Damon wrote:
>
> >I'm using Redhat 7.1. I wanted to install Slash, which required
recompiling
> >Apache through the mod_perl install. I told apache to include mod_so so
I
> >could compile a DSO version of php.
> >
> As a DSO you need the AddModule and LoadModule lines in httpd.conf, and
> "httpd -l" needs to show mod_so.c.....
>
> >
> >
> >The mod_php4 appears to be loading:
> >
> ># /usr/local/apache/bin/httpd -l
> >Compiled-in modules:
> > http_core.c
> > ...
> > mod_perl.c
> > mod_php4.c
> >
> ....but you seem to have compiled it into Apache itself (otherwise
> mod_php4.c would not be shown).
>
> >
> >[Mon Dec 30 16:33:10 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3
PHP/4.2.3
> >
> >should there be two "PHP/4.2.3"'s in that line? If I take out the
> >
> No, I don't think so. It shows you have both compiled-in and DSO loading.
>
> >
> >LoadModule directive for PHP (there's only one in httpd.conf) then I get
> >
> >[Mon Dec 30 16:46:49 2002] [notice] Apache/1.3.27 (Unix) PHP/4.2.3
> >
> That looks better.
>
> I'd suggest deciding on one or the other, trying it then re-posting
> results here. I don' know these particular versions but they should be OK.
>
> A phpinfo() will show where your php.ini should be. Its an option that
> you compiled PHP with.
>
> HTH
> Chris
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
Why by only typing http://localhost/ the index.php did not show up. I have
to type http://localhost/index.php for the page to show up. How can I solve
this problem?
--- End Message ---
--- Begin Message ---
That is due to the configuration of your webserver. You need to set it to
accept index.php as an 'index' page. Most webservers come with index.html as
the page to open. What web server are you using?
----- Original Message -----
From: "thkiat" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, January 02, 2003 3:25 PM
Subject: [PHP-INST] Index page
> Why by only typing http://localhost/ the index.php did not show up. I have
> to type http://localhost/index.php for the page to show up. How can I
solve
> this problem?
>
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
--- End Message ---
--- Begin Message ---
In RedHat 8.0, you can use RPM to remove the PHP
coming with it. Then download the PHP source,
configure ti with something like:
./configure --with-apxs2=/path/to/apxs
--prefix=/path/to/php
make
make install
Then restart Apache. It will warn you that php module
has already been loaded and skip. Just ignore it or
you can remove the line "load_module ... php4" in
httpd.conf, everything will be OK.
Of course, you need to install httpd-devel package to
have apxs.
--- M A <[EMAIL PROTECTED]> wrote:
>
>
> hi,
>
> well, i downloaded PHP 4.2 and i am using redhat
> 8.0.
> my question is how could i remove "uninstall" the
> php that came with the
> redhat? and when i install php again where should i
> install it to "path"?
> and would my httpd recognize it or do i have to
> change something in
> httpd.conf?
>
> Thanks
>
>
_________________________________________________________________
> Help STOP SPAM: Try the new MSN 8 and get 2 months
> FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> --
> PHP Install Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________________________
Do you Yahoo!?
Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
http://mailplus.yahoo.com
--- End Message ---
--- Begin Message ---
Hi,
I'm trying to run the configure script for PHP 4.3.0. It keeps exiting with
the following message:
configure: error: libjpeg.(a|so) not found.
This is how I'm running configure:
./configure --prefix=/opt/sfw/php --with-mysql=/opt/mysql \
--with-pgsql=/opt/postgres --with-gd=shared,/opt/sfw/lib \
--with-freetype --with-freetype-dir=/opt/sfw/lib \
--with-jpeg --with-jpeg-dir=/opt/sfw/lib \
--with-png --with-png-dir=/opt/sfw/lib \
--with-xpm --with-xpm-dir=/opt/sfw/lib \
--enable-gd-native-ttf --enable-gd-imgstrttf --with-pear \
--with-openssl=/opt/sfw/ssl --with-zlib=/opt/sfw/zlib \
--with-zlib-dir=/opt/sfw/lib \
--enable-calendar --without-pdflib --without-cpdflib \
--enable-ftp --with-gettext=/opt/sfw/gettext --with-java=/usr/j2se \
--enable-sockets --enable-sysvsem --with-tsrm-pthreads \
--with-exec-dir=/opt/sfw/php/bin \
--with-apxs=/usr/apache/bin/apxs --with-expat-dir=/opt/sfw/expat
I made sure that there was a copy of libjpeg.a in /opt/sfw/lib.
Any pointers to a solutions would be greatly appreciated!
-bill
--- End Message ---
--- Begin Message ---
When trying to configure PHP 4.3.0 on RedHat 7.2 with the following command:
./configure --no-create --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin
--sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share
--sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var
--libdir=/usr/lib --includedir=/usr/include --infodir=/usr/share/info
--mandir=/usr/share/man --with-apxs=/usr/sbin/apxs
--enable-force-cgi-redirect --enable-discard-path --with-layout=GNU
--with-config-file-path=/etc --enable-safe-mode --with-exec-dir=/usr/bin
--enable-magic-quotes --disable-rpath --with-openssl --with-zlib
--enable-bcmath --with-bz2 --enable-calendar --with-curl --enable-dbx
--enable-dio --enable-exif --enable-ftp=shared --with-gd
--with-jpeg-dir=/usr --with-png-dir=/usr --with-ttf --with-freetype-dir=/usr
--enable-gd-native-ttf --with-gettext=shared --with-iconv --with-imap=shared
--with-kerberos --with-imap-ssl --with-ldap=shared --enable-mbstring
--with-mcal --with-mysql=shared,/usr --with-unixODBC=shared --with-pfpro
--with-pgsql=shared --with-pspell --enable-shmop --with-snmp=shared,/usr
--enable-ucd-snmp-hack --enable-sockets --with-regex=system --enable-sysvsem
--enable-sysvshm --enable-wddx --with-expat-dir=/usr --enable-yp --with-zip
--enable-versioning --with-pic --enable-memory-limit
I get the following error:
...
checking for IMAP support... yes, shared
checking for pam_start in -lpam... no
checking for crypt in -lcrypt... (cached) yes
checking whether SSL libraries are needed for c-client... /usr/lib
checking whether IMAP works... no
configure: error: build test failed. Please check the config.log for
details.
In config.log, here's what it says at the end:
configure:34453: checking for IMAP support
configure:34811: checking for pam_start in -lpam
configure:34830: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DEAPI
-DEAPI_MM -DFD_SETSIZE=4096 conftest.c -lpam -lfreety$
/usr/bin/ld: cannot find -lpam
collect2: ld returned 1 exit status
configure: failed program was:
#line 34819 "configure"
#include "confdefs.h"
/* Override any gcc2 internal prototype to avoid an error. */
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
char pam_start();
int main() {
pam_start()
; return 0; }
configure:34858: checking for crypt in -lcrypt
configure:35252: checking whether SSL libraries are needed for c-client
configure:35413: checking whether IMAP works
configure:35446: gcc -o conftest -g -O2 -DLINUX=22 -DMOD_SSL=208105 -DEAPI
-DEAPI_MM -DFD_SETSIZE=4096 conftest.c -lcrypto -lssl$
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In
function `ssl_onceonlyinit':
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:286: the use of
`tmpnam' is dangerous, better use `mkstemp'
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../libc-client.a(osdep.o): In
function `checkpw':
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_start'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_authenticate'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_acct_mgmt'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:124: undefined
reference to `pam_setcred'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:130: undefined
reference to `pam_setcred'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:131: undefined
reference to `pam_end'
/usr/src/build/91052-i386/BUILD/imap-2001a/c-client/osdep.c:156: undefined
reference to `pam_end'
collect2: ld returned 1 exit status
configure: failed program was:
#line 35421 "configure"
#include "confdefs.h"
void mm_log(void){}
void mm_dlog(void){}
void mm_flags(void){}
void mm_fatal(void){}
void mm_critical(void){}
void mm_nocritical(void){}
void mm_notify(void){}
void mm_login(void){}
void mm_diskerror(void){}
void mm_status(void){}
void mm_lsub(void){}
void mm_list(void){}
void mm_exists(void){}
void mm_searched(void){}
void mm_expunged(void){}
char mail_open();
int main() {
mail_open(0,"",0);
return 0;
}
Any clues on what is causing this error? How can I resolve it? Any comments
are appreciated...!
Thanks in advance and Happy New Year to all of you,
Joerg Aldinger
--- End Message ---
--- Begin Message ---
I don't have the following php module in my httpd.conf file:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
Still i am able to build webpages using php and php codes are being
proccessed by the server. one more thing when i tried to load the php module
and restart the httpd server i get " the module php etc." is already loaded
still i can't see it in httpd.conf.
any explanation will be appreciated?
Thanks
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
Did you do an --enable=so when you configured Apache? or do --with-apxs="dir" when you
configured php?
The second one would add the LoadModule in automatically to your httpd.conf file.
Or maybe you have two installs of apache? I know my sun box had a version of apache
that was
installed on there.
Be sure you are looking at the correct one.
Mike
>>> "M A" <[EMAIL PROTECTED]> 01/02/03 02:29PM >>>
I don't have the following php module in my httpd.conf file:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
Still i am able to build webpages using php and php codes are being
proccessed by the server. one more thing when i tried to load the php module
and restart the httpd server i get " the module php etc." is already loaded
still i can't see it in httpd.conf.
any explanation will be appreciated?
Thanks
_________________________________________________________________
STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
http://join.msn.com/?page=features/junkmail
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
--- End Message ---
--- Begin Message ---
I don't have the following php module in my httpd.conf file:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
Still i am able to build webpages using php and php codes are being
proccessed by the server. one more thing when i tried to load the php module
and restart the httpd server i get " the module php etc." is already loaded
still i can't see it in httpd.conf.
any explanation will be appreciated?
Thanks
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
--- End Message ---
--- Begin Message ---
M A,
Do you have a php binary on your system, either from a build that you did or
from a standard RPM build? If so, then that is your answer. Thanks.
-- Jonathan
--
Jonathan M Slivko <[EMAIL PROTECTED]>
Website: http://www.speakeasy.net/~jslivko/
"In God We Trust, All Others Pay Cash!"
From: "M A" <[EMAIL PROTECTED]>
Reply-To: [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Subject: PHP & HTTPD
Date: Thu, 02 Jan 2003 20:39:50 +0000
I don't have the following php module in my httpd.conf file:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
Still i am able to build webpages using php and php codes are being
proccessed by the server. one more thing when i tried to load the php
module and restart the httpd server i get " the module php etc." is already
loaded still i can't see it in httpd.conf.
any explanation will be appreciated?
Thanks
_________________________________________________________________
The new MSN 8: smart spam protection and 2 months FREE*
http://join.msn.com/?page=features/junkmail
_______________________________________________
Redhat-install-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-install-list
To Unsubscribe Go To ABOVE URL or send a message to:
[EMAIL PROTECTED]
Subject: unsubscribe
_________________________________________________________________
Add photos to your e-mail with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
--- End Message ---
--- Begin Message ---
M A wrote:
LoadModule php4_module modules/libphp4.so
AddType application/x-httpd-php .php
The first line is only required if you compiled apache --with-shared (to
allow DSO modules) and php --with-apxs (to compile php as a DSO module).
It sounds as though you have compiled them to have PHP compiled into
Apache itself rather than as a module. If so you do not need the that line.
HTH
Chris
--- End Message ---
--- Begin Message ---
I am setting up PHP 4.3.0 on IIS and I can pull up html pages fine, but when I
pull up a PHP page, I get the following error.
..........................................
The page cannot be displayed
The page you are looking for is currently unavailable. The Web site might be
experiencing technical difficulties, or you may need to adjust your browser settings.
...
Cannot find server or DNS Error
Internet Explorer
............................................
Has anyone run into this before? I have added c:\php\php.exe as the program for .php
files. An earlier version of PHP worked before...Help!
-----
Johnny Matthews
-Database Analyst / Administrator
Greenville College
[EMAIL PROTECTED]
Phone:618.664.7075
Fax: 618.664.7080
http://www.greenville.edu/staff/jmatthew/
"UNIX is user friendly. It's just very selective about who its friends are."
-Unknown
--- End Message ---
--- Begin Message ---
On Thu, 2 Jan 2003, Christoph Grottolo wrote:
> > You need limcrypt.dll which is not provided by default.
> > Just download it here:
> > http://ftp.proventum.net/pub/php/win32/misc/mcrypt/php-4.3-mcrypt.zip
> > , copy the files: php_mcrypt.dll in your extensions directory and
> > libmcrypt.dll in c:\windows\system32,
> > restart your apache and enjoy ;-))
>
> How about adding libmcrypt.dll to dlls folder of the windows distributions?
> It's hard to find a matching binary on the web.
We can not do that due to USA export legislation, but it is in the
manual now:
http://www.php.net/manual/en/ref.mcrypt.php (Requirements)
Derick
--
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
PHP Magazine - PHP Magazine for Professionals http://php-mag.net/
-------------------------------------------------------------------------
--- End Message ---
--- Begin Message ---
What happened to sybase? It is returning numeric results rounded up. I run the same
queries in Infomaker
and I get the correct value? Is this a setup issue with 4.3?
-----
Johnny Matthews
-Database Analyst / Administrator
Greenville College
[EMAIL PROTECTED]
Phone:618.664.7075
Fax: 618.664.7080
http://www.greenville.edu/staff/jmatthew/
"UNIX is user friendly. It's just very selective about who its friends are."
-Unknown
--- End Message ---
--- Begin Message ---
I have PHP installed on a WinNT computer with Apache web server. I have 2
different domains on the same machine (Virtual hosts in Apache).
So my question is:
Is it possible to have different include_path's, depending on which domain
is used.
Example:
I want xx.com to have the following include path: include_path =
".;d:\www\xx\utils"
I want yy.com to have the following include path: include_path =
".;d:\www\yy\utils"
Lasse, Denmark
--- End Message ---
--- Begin Message ---
In mid-December I asked about installing php on an AIX system, I was having
trouble when I got to the 'make install' command, essentially the
libphp4.so was not being created in the ./libs directory of the php install
source, and the 'make install' was failing because it couldn't copy this
into the libexec directory for apache. I was configuring
--with-apxs=/path/to/apxs.
After trying to change the apxs script (Jim Thome even had me send it to
him so he could see what mine looked like and make the edit changes), to
see .a instead of .so as module file, I was still in the same boat. The
'make install' command wasn't creating the libphp4.so file. I did notice
that if I compiled without apxs things went smoothley, but I didn't have a
libphp4.so file still, so that wasn't going to get php running.
Jim then suggested that I compile it as CGI and then reconfigure apache to
add it to the binary. This is what I did and it worked great. So, for any
future AIX users that have the same issues I did here is what I did stepwise.
1 - apachectl stop
2 - from the source directory of the install files (where it uncompressed
and untarred) -
configure --with-apache=/path/to/apache/source --with-mysql
--prefix=/usr/local/apache
the path to the apache source is where you installed apache from.
3 - make
4 - make install
5 - copy the libphp4.a and libphp4.la from the ./libs to the
/src/modules/php4 directory
6 - cd to the /path/to/apache/source/
7 - reconfigure apache:
configure --activate-module=src/modules/php4/libphp4.a
8 - Check your httpd.conf file to make sure it understands how to handle
php extensions (AddType application/x-httpd-php .php, AddType
application/x-httpd-php .php4, AddType application/x-httpd-php-source .phps
should be in there).
9 - apachectl start
And voila. Use a phpinfo() and it should show the new version.
I want to be sure and thank Jim Thome, without his expertise and help I
would never have gotten this to work. In fact I would say it was entirely
his expertise that got this to work :)
-=-=-=-=-=-=-=-=-=-==-=-=-=-=--=-=-=-=-=-
Kirt Thomas [EMAIL PROTECTED]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
--- End Message ---