]> git.pld-linux.org Git - packages/php.git/blobdiff - php-mod_php.conf
- up to 8.0.7; soname to reflect that this is php 8
[packages/php.git] / php-mod_php.conf
index 9a9f298fb5aaf860de1f57bf64e829b2ae67c192..127fbbd8458f1038b2ca87d066330683467c8d21 100644 (file)
@@ -1,6 +1,6 @@
-LoadModule php5_module modules/libphp5.so
+LoadModule php_module modules/mod_php.so
 
-<IfModule mod_php5.c>
+<IfModule mod_php.c>
        <Files *.php>
                AddType application/x-httpd-php .php
        </Files>
@@ -19,4 +19,14 @@ LoadModule php5_module modules/libphp5.so
        <Files *.phtml>
                AddType application/x-httpd-php .phtml
        </Files>
+
+       # Uncomment to disable php in user directories.
+       # 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.
+#      <IfModule mod_userdir.c>
+#              <Directory /home/users/*/public_html>
+#                      php_admin_value engine Off
+#              </Directory>
+#      </IfModule>
 </IfModule>
This page took 0.059924 seconds and 4 git commands to generate.