Installing PHP with Apache Update Apache httpd.conf
cd /usr/local/apache/conf
- Update the apache configuration file “httpd.conf”.
- If you have upgraded Apache from a different version, do not use the previous “httpd.conf” file as a basis for the new one.
AddType application/x-httpd-php4 .php4
AddType application/x-httpd-php4-source .phps