Always make sure php has its own process manager to make lighty happy

This commit is contained in:
Ermal 2013-01-03 14:23:50 +00:00
parent e83eaf36a1
commit eef77bfe0d

View File

@ -792,8 +792,8 @@ function system_generate_lighty_config($filename,
if ($avail > 0 and $avail < 128) {
$bin_environment = <<<EOC
"bin-environment" => (
"PHP_FCGI_CHILDREN" => "0",
"PHP_FCGI_MAX_REQUESTS" => "2",
"PHP_FCGI_CHILDREN" => "1",
"PHP_FCGI_MAX_REQUESTS" => "500",
),
EOC;