From d907b05bb35ac9d0572a072d7b71900bc240e631 Mon Sep 17 00:00:00 2001 From: doktornotor Date: Thu, 13 Aug 2015 01:16:54 +0200 Subject: Fix up fastcgi configuration so that this actually has a chance of working on 2.2.x --- config/vhosts/vhosts.inc | 38 ++++++++++++-------------------------- 1 file changed, 12 insertions(+), 26 deletions(-) (limited to 'config/vhosts') diff --git a/config/vhosts/vhosts.inc b/config/vhosts/vhosts.inc index a284d745..cf2f97b8 100644 --- a/config/vhosts/vhosts.inc +++ b/config/vhosts/vhosts.inc @@ -335,19 +335,12 @@ server.max-request-size = 2097152 #### fastcgi module ## read fastcgi.txt for more info fastcgi.server = ( ".php" => - ( "localhost" => - ( - "socket" => "/tmp/php5-fastcgi.socket", - "min-procs" => 1, - "max-procs" => 1, - "idle-timeout" => 0, - "bin-environment" => ( - "PHP_FCGI_MAX_REQUESTS" => "500", - "PHP_FCGI_CHILDREN" => "1" - ), - "bin-path" => "/usr/local/bin/php" - ) - ) + ( "localhost" => + ( + "socket" => "/var/run/php-fpm.socket", + "broken-scriptfilename" => "enable" + ) + ) ) #### CGI module @@ -575,19 +568,12 @@ server.max-request-size = 2097152 #### fastcgi module ## read fastcgi.txt for more info fastcgi.server = ( ".php" => - ( "localhost" => - ( - "socket" => "/tmp/php5-fastcgi.socket", - "min-procs" => 1, - "max-procs" => 1, - "idle-timeout" => 0, - "bin-environment" => ( - "PHP_FCGI_MAX_REQUESTS" => "500", - "PHP_FCGI_CHILDREN" => "1" - ), - "bin-path" => "/usr/local/bin/php" - ) - ) + ( "localhost" => + ( + "socket" => "/var/run/php-fpm.socket", + "broken-scriptfilename" => "enable" + ) + ) ) #### CGI module -- cgit v1.2.3