aboutsummaryrefslogtreecommitdiffstats
path: root/community/php7
diff options
context:
space:
mode:
authorAndy Postnikov <apostnikov@gmail.com>2017-05-04 06:05:47 +0300
committerWilliam Pitcock <nenolod@dereferenced.org>2017-05-11 04:10:02 +0000
commit0a12727db8ad465ca708aedf87e07ddb08ad17f2 (patch)
tree0fd9f8ec1bff0c31d07e4c6d370e7cd6c0e7db94 /community/php7
parent318c497f003be1645152235d1b08005f7dfde3ee (diff)
downloadaports-0a12727db8ad465ca708aedf87e07ddb08ad17f2.tar.bz2
aports-0a12727db8ad465ca708aedf87e07ddb08ad17f2.tar.xz
community/php7: Change php7-module.conf to use SetHandler
Diffstat (limited to 'community/php7')
-rw-r--r--community/php7/APKBUILD4
-rw-r--r--community/php7/php7-module.conf12
2 files changed, 12 insertions, 4 deletions
diff --git a/community/php7/APKBUILD b/community/php7/APKBUILD
index 9cd1ebae3b..a0de07d7f3 100644
--- a/community/php7/APKBUILD
+++ b/community/php7/APKBUILD
@@ -20,7 +20,7 @@
pkgname=php7
_pkgreal=php
pkgver=7.1.4
-pkgrel=0
+pkgrel=1
_apiver=20160303
_suffix=${pkgname#php}
# Is this package the default (latest) PHP version?
@@ -603,7 +603,7 @@ _mv() {
sha512sums="a1dd5ffd756176e6ba600dd850510033d0d6f07aff314de69fec0c42437e6a006449e3f4f98679146a2f2645caa65ea351e31a8e1da7c14cc5260856ad40eaff php-7.1.4.tar.bz2
1c708de82d1086f272f484faf6cf6d087af7c31750cc2550b0b94ed723961b363f28a947b015b2dfc0765caea185a75f5d2c2f2b099c948b65c290924f606e4f php7-fpm.initd
cacce7bf789467ff40647b7319e3760c6c587218720538516e8d400baa75651f72165c4e28056cd0c1dc89efecb4d00d0d7823bed80b29136262c825ce816691 php7-fpm.logrotate
-fbf9a1572d37370ec0d126502e1d066e045a992484d8fc4f1e2ede330134c1a15f4029f29fa4daebd48eed78b045dc051ced69fbf1f11efc7ad81d884a639a99 php7-module.conf
+274bd7b0b2b7002fa84c779640af37b59258bb37b05cb7dd5c89452977d71807f628d91b523b5039608376d1f760f3425d165242ca75ee5129b2730e71c4e198 php7-module.conf
cd76bd6a6a222e17ba50a11d292925966e30532a464ad2807d8ae5a8c510c63eeb494291f0b0ce1d287f13659d290550d001e77b2fc50c70c3ec175b204a37a7 disabled-tests.list
f1177cbf6b1f44402f421c3d317aab1a2a40d0b1209c11519c1158df337c8945f3a313d689c939768584f3e4edbe52e8bd6103fb6777462326a9d94e8ab1f505 install-pear.patch
199aecdbd3b4035aabf5379c215f82412d3c98b79a1ee186944e7fe1f0ed6f40789ea30e2355149491de6be34fc66c5e486e2a79a7e41ab2ae18706ef3ffe79b includedir.patch
diff --git a/community/php7/php7-module.conf b/community/php7/php7-module.conf
index cf7573bb10..4c26b8f1ca 100644
--- a/community/php7/php7-module.conf
+++ b/community/php7/php7-module.conf
@@ -1,5 +1,13 @@
LoadModule php7_module modules/mod_php7.so
DirectoryIndex index.php index.html
-AddHandler application/x-httpd-php .php
-AddHandler application/x-httpd-php-source .phps
+
+<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>