diff options
author | doktornotor <notordoktor@gmail.com> | 2015-08-13 01:16:54 +0200 |
---|---|---|
committer | doktornotor <notordoktor@gmail.com> | 2015-08-13 01:16:54 +0200 |
commit | d907b05bb35ac9d0572a072d7b71900bc240e631 (patch) | |
tree | 419759b9300e6eec5a367e1c532809a59dc3d043 /config/vhosts | |
parent | 80810e93ad85c175356fd1ef5f90a64d713b7fea (diff) | |
download | pfsense-packages-d907b05bb35ac9d0572a072d7b71900bc240e631.tar.gz pfsense-packages-d907b05bb35ac9d0572a072d7b71900bc240e631.tar.bz2 pfsense-packages-d907b05bb35ac9d0572a072d7b71900bc240e631.zip |
Fix up fastcgi configuration so that this actually has a chance of working on 2.2.x
Diffstat (limited to 'config/vhosts')
-rw-r--r-- | config/vhosts/vhosts.inc | 38 |
1 files changed, 12 insertions, 26 deletions
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 |