Installing PHP4, mod_ssl and Apache

If you’re installing PHP4, with an ssl enabled Apache you may run into the same problem I just ran into.
The lines LoadModule php4_module libexec/ 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!

Leave a Reply

%d bloggers like this:

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.