X-Git-Url: https://dehnerts.com/gitweb/?a=blobdiff_plain;f=mods-available%2Fphp5.conf;fp=mods-available%2Fphp5.conf;h=5d2f9112f49a47bf0b01824263132c5508acf49a;hb=e067f513d2c3305131987e99ffaeabbc682f1a8f;hp=04fc35744225f25550003c6dc47275c6fbb1ce13;hpb=8f14571e5803a78424bf4bab0b9565e1830e2802;p=sysconfig%2Fapache2.git diff --git a/mods-available/php5.conf b/mods-available/php5.conf index 04fc357..5d2f911 100644 --- a/mods-available/php5.conf +++ b/mods-available/php5.conf @@ -1,4 +1,16 @@ - AddType application/x-httpd-php .php .phtml .php3 - AddType application/x-httpd-php-source .phps + + SetHandler application/x-httpd-php + + + SetHandler application/x-httpd-php-source + + # To re-enable php in user directories comment the following lines + # (from to .) Do NOT set it to On as it + # prevents .htaccess files from disabling it. + + + php_admin_value engine Off + +