summaryrefslogtreecommitdiff
path: root/lang/php5/pkg-message.mod
diff options
context:
space:
mode:
Diffstat (limited to 'lang/php5/pkg-message.mod')
-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>
***************************************************************