summarylogtreecommitdiffstats
path: root/apache.conf
diff options
context:
space:
mode:
Diffstat (limited to 'apache.conf')
-rw-r--r--apache.conf13
1 files changed, 13 insertions, 0 deletions
diff --git a/apache.conf b/apache.conf
new file mode 100644
index 00000000000..e0478fba9e1
--- /dev/null
+++ b/apache.conf
@@ -0,0 +1,13 @@
+# Required modules: dir_module, php71_module
+
+<IfModule dir_module>
+ <IfModule php71_module>
+ DirectoryIndex index.php index.html
+ <FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+ </FilesMatch>
+ <FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+ </FilesMatch>
+ </IfModule>
+</IfModule>