Language: de en it pl pt-br ro

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/
# 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.php index.xhtml index.shtml

Restart the apache server

#/etc/init.d/apache2 restart


Content last revised 12/01/2012 1400 UTC