summaryrefslogtreecommitdiff
path: root/usr/local/etc/apache24/modules.d
diff options
context:
space:
mode:
Diffstat (limited to 'usr/local/etc/apache24/modules.d')
-rw-r--r--usr/local/etc/apache24/modules.d/001_mod_php.conf6
1 files changed, 6 insertions, 0 deletions
diff --git a/usr/local/etc/apache24/modules.d/001_mod_php.conf b/usr/local/etc/apache24/modules.d/001_mod_php.conf
index e69de29..f756a81 100644
--- a/usr/local/etc/apache24/modules.d/001_mod_php.conf
+++ b/usr/local/etc/apache24/modules.d/001_mod_php.conf
@@ -0,0 +1,6 @@
+<FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+</FilesMatch>
+<FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+</FilesMatch>