14.2. PHP and Security

PHP, (which stands for "PHP:Hypertext Preprocessor") is a programming language that allows web developers to easily create dynamic content. PHP is most often used for developing web-based software applications. Not all web sites use or need PHP. For web servers with sites that do not need PHP, you can leave the module disabled. But if you need to enable it because you are developing PHP code for the site, then you can do so by removing the commenting from the line in the httpd.conf file that loads the PHP module. Find the following line and remove the # from the beginning of the line:

#LoadModule php5_module           libexec/httpd/libphp5.so

It should look like:

LoadModule php5_module           libexec/httpd/libphp5.so

NOTE

Perl, a scripting ...

Get Enterprise Mac Security: Mac OS X Snow Leopard now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.