From 1fcbe508a431d0a40d987cbe133cc7b65e60aeae Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Mon, 19 May 2014 15:41:29 +0000 Subject: Improve pkg-message for mod_php5. Submitted by: POINSOT Julien --- lang/php5/pkg-message.mod | 8 ++++++-- lang/php55/pkg-message.mod | 8 ++++++-- 2 files changed, 12 insertions(+), 4 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 + + SetHandler application/x-httpd-php + + + SetHandler application/x-httpd-php-source + *************************************************************** diff --git a/lang/php55/pkg-message.mod b/lang/php55/pkg-message.mod index 555f5b053ae8..f60f33ce2266 100644 --- a/lang/php55/pkg-message.mod +++ b/lang/php55/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 + + SetHandler application/x-httpd-php + + + SetHandler application/x-httpd-php-source + *************************************************************** -- cgit v1.2.3