svn commit: r354544 - in head/lang: php5 php55
Alex Dupre
ale at FreeBSD.org
Mon May 19 15:41:30 UTC 2014
Author: ale
Date: Mon May 19 15:41:29 2014
New Revision: 354544
URL: http://svnweb.freebsd.org/changeset/ports/354544
QAT: https://qat.redports.org/buildarchive/r354544/
Log:
Improve pkg-message for mod_php5.
Submitted by: POINSOT Julien <poinsot.julien at gmail.com>
Modified:
head/lang/php5/pkg-message.mod
head/lang/php55/pkg-message.mod
Modified: head/lang/php5/pkg-message.mod
==============================================================================
--- head/lang/php5/pkg-message.mod Mon May 19 15:07:35 2014 (r354543)
+++ head/lang/php5/pkg-message.mod Mon May 19 15:41:29 2014 (r354544)
@@ -4,7 +4,11 @@ Make sure index.php is part of your Dire
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>
***************************************************************
Modified: head/lang/php55/pkg-message.mod
==============================================================================
--- head/lang/php55/pkg-message.mod Mon May 19 15:07:35 2014 (r354543)
+++ head/lang/php55/pkg-message.mod Mon May 19 15:41:29 2014 (r354544)
@@ -4,7 +4,11 @@ Make sure index.php is part of your Dire
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>
***************************************************************
More information about the svn-ports-head
mailing list