Enabling PHP requires making changes to UNIX configuration files in the Terminal application. To enable PHP, you must be comfortable with typing UNIX commands and using a UNIX text editor.
To enable PHP:
1 In the Terminal application, use a text editor to edit /etc/httpd/httpd.conf
2 Enable PHP by removing the comment character, #, from the following lines, which are located in various places in the file:
#LoadModule php4_module /usr/libexec/httpd/libphp4.so
#AddModule mod_php4.c
3 Save the changes and close the file.
The changes take effect when you restart the Web service.