summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-03-15 14:58:33 +0000
committerErmal <eri@pfsense.org>2012-03-15 14:58:52 +0000
commitf5b8bdbfb250f8e41ffed0c105c282fa1230171f (patch)
tree838f4b78632526d31b3c838815b468238e45501e /etc
parente8e2ffbd33d482f940fd3ea3f8678796a1e17b4d (diff)
downloadpfsense-f5b8bdbfb250f8e41ffed0c105c282fa1230171f.zip
pfsense-f5b8bdbfb250f8e41ffed0c105c282fa1230171f.tar.gz
Set FCGI_CHILDREN to 0 since it does not make sense php to manage itself when lighttpd is doing so. This makes it possible to recover from 550-Internal... error.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/system.inc6
1 files changed, 3 insertions, 3 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc
index f01d674..7790d38 100644
--- a/etc/inc/system.inc
+++ b/etc/inc/system.inc
@@ -856,7 +856,7 @@ function system_generate_lighty_config($filename,
if($captive_portal == true) {
$bin_environment = <<<EOC
"bin-environment" => (
- "PHP_FCGI_CHILDREN" => "$max_procs",
+ "PHP_FCGI_CHILDREN" => "0",
"PHP_FCGI_MAX_REQUESTS" => "500"
),
EOC;
@@ -864,7 +864,7 @@ EOC;
} else if ($avail > 0 and $avail < 128) {
$bin_environment = <<<EOC
"bin-environment" => (
- "PHP_FCGI_CHILDREN" => "$max_procs",
+ "PHP_FCGI_CHILDREN" => "0",
"PHP_FCGI_MAX_REQUESTS" => "2",
),
@@ -872,7 +872,7 @@ EOC;
} else
$bin_environment = <<<EOC
"bin-environment" => (
- "PHP_FCGI_CHILDREN" => "$max_procs",
+ "PHP_FCGI_CHILDREN" => "0",
"PHP_FCGI_MAX_REQUESTS" => "500"
),
EOC;
OpenPOWER on IntegriCloud