Click to See Complete Forum and Search --> : Strange problems with PHP 4 and Apache2


Anon
04-14-2002, 05:49 PM
I just tried to install Apache 2.0.36 (also the cvs version of Apache) and PHP 4.2_RC3/PHP 4.3_devel.
If I start Apache with support for PHP, with the addmodule clausure Apache will not start. If I'll remove this line Apache will work perfectly.
Here comes the strange things. If I put that line again in httpd.conf and I said apachectl restart, PHP will work for a main part. The only thing what don't work is the session part of PHP.

I hope there will be a solution to install Apache2 with PHP properly. Has anybody a suggestion?

Remy

Anon
04-14-2002, 11:22 PM
addmodule is disabled in apache 2, you don't need it any longer. But I can't install php rc3, when it is installed, apache will not start ( if LoadModule perl_module modules/mod_perl.so is enabled). I wonder why?

Anon
04-15-2002, 05:49 AM
See the following message, it should solve your problems

http://www.phpbuilder.com/forum/read.php3?num=3&id=110337&thread=110299

Ron

Anon
04-15-2002, 06:24 AM
This is a Windows solution... I use Linux. I've searched in the bug database of PHP, I think I'm not the only one with this problem.

PS, I used LoadModule. But there are people who works with Apache 2.0.3x with PHP >= 4.2.RC2.

Anon
04-15-2002, 04:22 PM
Hi,

Try the RC4. Got it to work on my Debian.

Anon
04-16-2002, 09:51 AM
I've tried it too, and also PHP-4.3_dev. But I've searched in the bug database of PHP, I think the bug is still open :(
I still hope PHP will work soon.