From 0a12727db8ad465ca708aedf87e07ddb08ad17f2 Mon Sep 17 00:00:00 2001 From: Andy Postnikov Date: Thu, 4 May 2017 06:05:47 +0300 Subject: community/php7: Change php7-module.conf to use SetHandler --- community/php7/php7-module.conf | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'community/php7/php7-module.conf') 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 + + + SetHandler application/x-httpd-php + + +# Uncomment the following to allow .phps files to be handled by the php source filter, +# and displayed as syntax-highlighted source code +# +# SetHandler application/x-httpd-php-source +# -- cgit v1.2.3