From 715cbfd065bc38541d67a9e91c11a0308a63fc9b Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Sun, 31 Aug 2014 17:44:58 +0200 Subject: php54-php: update to 5.4.32 --- php.conf | 54 ++++++++++++++++++++++++++++++++++++------------------ 1 file changed, 36 insertions(+), 18 deletions(-) (limited to 'php.conf') diff --git a/php.conf b/php.conf index 64eb5fd..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,17 +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" + # + # 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