summaryrefslogtreecommitdiff
path: root/repo/php8/php8-module.conf
diff options
context:
space:
mode:
Diffstat (limited to 'repo/php8/php8-module.conf')
-rw-r--r--repo/php8/php8-module.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/repo/php8/php8-module.conf b/repo/php8/php8-module.conf
new file mode 100644
index 0000000..2ffe005
--- /dev/null
+++ b/repo/php8/php8-module.conf
@@ -0,0 +1,13 @@
+LoadModule php_module modules/mod_php8.so
+
+DirectoryIndex index.php index.html
+
+<FilesMatch \.php$>
+ SetHandler application/x-httpd-php
+</FilesMatch>
+
+# Uncomment the following to allow .phps files to be handled by the php source filter,
+# and displayed as syntax-highlighted source code
+#<FilesMatch "\.phps$">
+# SetHandler application/x-httpd-php-source
+#</FilesMatch>