PHP4 and PHP3 install prob
| From: | Jeroen | Date: | Tue, 26 Sep 2000 10:22:07 +0000 |
| Subject: | PHP4 and PHP3 install prob | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-17579@lists.php.net to get a copy of this message | ||
Hi,
For a while now i use apache with mod_ssl and php3.
Now with the release of php4 i tried to load php4 as dinamic module but it
seems apache don't like it.
When i do httpd -l i get:
http_core.c
mod_so.c
mod_php3.c
So according to the INSTALL file coming with php4 i only need mod_so.c and
http_core.c.
my php4 configure line looks like this:
./configure --with-apxs=/usr/local/apache/bin/apxs --enable-versioning --wit
h-mysql=/usr --enable-track-vars
(for mysql i use the standard redhat rpm).
then make and make install
I did it a few times and seen no errors whatsoever.
But when i do apachectl configtest it says:
Cannot add module via name 'mod_php4.c': not in list of loaded modules
And when i try to start apache it crash imediately. I also commented out
mod_php4.c in httpd.conf but as i expected php won't work.
Hope somebody can help me with this prob.
Regards,
Jeroen