summaryrefslogtreecommitdiff
path: root/apache2/conf.d/local-php.conf
blob: 37633947badb77b7b985fe235684fc17d82cf531 (plain)
  1. # requires: php5
  2. AddType application/x-httpd-php .php .php3 .phtml
  3. AddType application/x-httpd-php-source .phps
  4. # To re-enable php in user directories comment the following lines
  5. # (from <IfModule ...> to </IfModule>.) Do NOT set it to On as it
  6. # prevents .htaccess files from disabling it.
  7. <IfModule mod_userdir.c>
  8. <Directory /home/*/public_html>
  9. php_admin_value engine Off
  10. </Directory>
  11. </IfModule>