Entry
Can I install PHP along with mod_ssl?
Jul 2nd, 2000 10:56
Martin Dougiamas, Nathan Wallace, Rasmus Lerdorf, Antoni Pāmies Olivé
Make sure you add mod_ssl first and then do a fresh configure/install of
PHP. The SSL stuff fiddles with the internal httpd structs and PHP
needs to know about these.
You will need to set up your http.conf and configure ssl (certificate)
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
the files
/etc/httpd/conf/ssl.crt/server.crt
/etc/httpd/conf/ssl.key/server.key
must exists. Check that you have these files and check their contents.
For a comprehensive answer - see the tutorial at DevShed:
http://www.devshed.com/Server_Side/PHP/SoothinglySeamless/