Sunday, February 11, 2007

Apache2 and PHP5

[For ref - to be updated]

LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
AddHandler php5-script php
AddType text/html php
#
# Cause the PHP interpreter handle files with a .php extension.
#

SetOutputFilter PHP
SetInputFilter PHP
LimitRequestBody 9524288


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps