Re: problems with apache 2.0.43 and newest snapshot

From: Date: Wed, 11 Dec 2002 18:55:11 +0000
Subject: Re: problems with apache 2.0.43 and newest snapshot
References: 1 2  Groups: php.install 
Request: Send a blank email to php-install+get-9360@lists.php.net to get a copy of this message
Josh Marcus wrote:
I'm running linux. Redhat 6.2. That is rather old now. Does it use the <If Define> syntax in httpd.conf? Oops, if you've installed new Apache versions presumably not?
I have now tried a number of different relatively new apaches, with a number of recent phps. And I always can compile fine. Good.
And apache doesn't complain. It will complain if httpd.conf contains something it does not understand. One test I do to check Apache is actually looking at the httpd.conf I am editing is to put some rubbish in it and check Apache complains when restarting it.
but it doesn't list the loaded httpd -l will only list statically linked modules. How did you compile php (what is your configure line)?
module. Will apache complain if the module doesn't load correctly? Yes.
LoadModule php4_module        modules/libphp4.so
AddType application/x-httpd-php php The second line should have a full stop (".php" not "php"). You may also need an AddModule line. The url of the file you are calling in your browser will need to have the extension ".php".
HTH Chris

« previous php.install (#9360) next »