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


--
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to