aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/php/php/70_mod_php7.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta-oe/recipes-devtools/php/php/70_mod_php7.conf')
-rw-r--r--meta-oe/recipes-devtools/php/php/70_mod_php7.conf9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta-oe/recipes-devtools/php/php/70_mod_php7.conf b/meta-oe/recipes-devtools/php/php/70_mod_php7.conf
new file mode 100644
index 0000000000..d206265a25
--- /dev/null
+++ b/meta-oe/recipes-devtools/php/php/70_mod_php7.conf
@@ -0,0 +1,9 @@
+LoadModule php7_module lib/apache2/modules/libphp7.so
+
+<FilesMatch "\.ph(p[2-7]?|tml)$">
+ SetHandler application/x-httpd-php
+</FilesMatch>
+
+<FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+</FilesMatch>