summaryrefslogtreecommitdiff
path: root/lang/php5
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2014-05-19 15:41:29 +0000
committerAlex Dupre <ale@FreeBSD.org>2014-05-19 15:41:29 +0000
commit1fcbe508a431d0a40d987cbe133cc7b65e60aeae (patch)
treeea556d04b89abac4cb3111f2d65cf3a7688129e8 /lang/php5
parentCopy textproc/py-openpyxl to textproc/py-openpyxl1 and put version 1.8.6 (diff)
Improve pkg-message for mod_php5.
Submitted by: POINSOT Julien <poinsot.julien@gmail.com>
Notes
Notes: svn path=/head/; revision=354544
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/pkg-message.mod8
1 files changed, 6 insertions, 2 deletions
diff --git a/lang/php5/pkg-message.mod b/lang/php5/pkg-message.mod
index 555f5b053ae8..f60f33ce2266 100644
--- a/lang/php5/pkg-message.mod
+++ b/lang/php5/pkg-message.mod
@@ -4,7 +4,11 @@ Make sure index.php is part of your DirectoryIndex.
You should add the following to your Apache configuration file:
-AddType application/x-httpd-php .php
-AddType application/x-httpd-php-source .phps
+<FilesMatch "\.php$">
+ SetHandler application/x-httpd-php
+</FilesMatch>
+<FilesMatch "\.phps$">
+ SetHandler application/x-httpd-php-source
+</FilesMatch>
***************************************************************