PHP Support For Apache2
Make sure you have all the following lines need to uncomment somewhere in your apache2.conf (or in your conf.d/php.ini) file:
LoadModule php5_module modules/libphp5.so
# Cause the PHP interpreter to handle files with a .php extension. AddType application/x-httpd-php .php
If you want to allow the different index files types check for the following line in /etc/apache2/apache2.conf file
DirectoryIndex index.html index.cgi index.pl index.php index.xhtml index.shtml
Restart the apache server
#service apache2 restart
Sources:
http://www.mysql-apache-php.com
Content last revised 14/08/2010 0100 UTC