From ecc16d8af29c2f1b67f30734c791aa1f811390cd Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Wed, 3 Sep 2014 09:09:45 +0200 Subject: php55-php: update to 5.5.16 + enable most extensions --- php.conf | 55 ++++++++++++++++++++++++++++++++++++------------------- 1 file changed, 36 insertions(+), 19 deletions(-) (limited to 'php.conf') diff --git a/php.conf b/php.conf index 7000043..730867e 100644 --- a/php.conf +++ b/php.conf @@ -1,9 +1,16 @@ # -# Cause the PHP interpreter to handle files with a .php extension. -# - - SetHandler application/x-httpd-php - +# The following lines prevent .user.ini files from being viewed by Web clients. +# + + + Require all denied + + + Order allow,deny + Deny from all + Satisfy All + + # # Allow php to handle Multiviews @@ -16,18 +23,28 @@ AddType text/html .php # DirectoryIndex index.php -# -# Uncomment the following lines to allow PHP to pretty-print .phps -# files as PHP source code: -# -# -# SetHandler application/x-httpd-php-source -# +# mod_php options + + # + # Cause the PHP interpreter to handle files with a .php extension. + # + + SetHandler application/x-httpd-php + -# -# Apache specific PHP configuration options -# those can be override in each configured vhost -# -php_value session.save_handler "files" -php_value session.save_path "/var/lib/php/session" -php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache" + # + # Uncomment the following lines to allow PHP to pretty-print .phps + # files as PHP source code: + # + # + # SetHandler application/x-httpd-php-source + # + + # + # Apache specific PHP configuration options + # those can be override in each configured vhost + # + php_value session.save_handler "files" + php_value session.save_path "/var/lib/php/session" + php_value soap.wsdl_cache_dir "/var/lib/php/wsdlcache" + -- cgit