Josh Marcus wrote:
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'm running linux. Redhat 6.2.
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.
httpd -l will only list statically linked modules. How did you compile php (what is your configure line)?but it doesn't list the loaded
module. Will apache complain if the module doesn't load correctly?
Yes.
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".LoadModule php4_module modules/libphp4.so AddType application/x-httpd-php php
HTH
Chris
--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php