If you’re installing PHP4, with an ssl enabled Apache you may run into the same problem I just ran into.
LoadModule php4_module libexec/libphp4.so and
AddModule mod_php4.c are inserted by the php installer automatically. Unfortunately, mod_ssl also adds in code to load mod_ssl.
From what I saw, it looks like the PHP installer adds the php loadmodule commands after the last load module. That’s fine in most cases, but unfortunately here, the last load module command had an
if statement around it. When I visited a non-https url php wouldn’t work!
For some reason it didn’t add the AddType commands either but those were easily copied from another httpd.conf!
You might also like