diff options
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/conf.d/local-php.conf | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/apache2/conf.d/local-php.conf b/apache2/conf.d/local-php.conf index fc6e91f..3763394 100644 --- a/apache2/conf.d/local-php.conf +++ b/apache2/conf.d/local-php.conf @@ -1,11 +1,7 @@ # requires: php5 -<FilesMatch "\.ph(p3?|tml)$"> - SetHandler application/x-httpd-php -</FilesMatch> -<FilesMatch "\.phps$"> - SetHandler application/x-httpd-php-source -</FilesMatch> +AddType application/x-httpd-php .php .php3 .phtml +AddType application/x-httpd-php-source .phps # To re-enable php in user directories comment the following lines # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it # prevents .htaccess files from disabling it. |