13.09.2016 Views

PHP and MySQL Web Development 4th Ed-tqw-_darksiderg

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

898 Appendix A Installing <strong>PHP</strong> <strong>and</strong> <strong>MySQL</strong><br />

Figure A.2<br />

The function phpinfo() provides useful<br />

configuration information.<br />

Is SSL Working?<br />

In Apache 2.2, all you need to do to enable SSL is uncomment the rule for the httpdssl.conf<br />

file in httpd.conf.<br />

Instead of this in httpd.conf:<br />

# Include conf/extra/httpd-ssl.conf<br />

the line should read:<br />

Include conf/extra/httpd-ssl.conf<br />

You can make numerous configuration changes in the httpd-ssl.conf file itself; check the<br />

Apache documentation at http://httpd.apache.org/docs/2.2/mod/mod_ssl.html.<br />

Once configuration changes have been made, simply stop <strong>and</strong> start the server:<br />

# /usr/local/apache2/bin/apachectl stop<br />

# /usr/local/apache2/bin/apachectl start

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!