diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2006-03-22 01:52:34 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2006-03-22 01:52:34 +0000 |
commit | 26cea883b9352d6e2b7c23c24dfa12f39173fb2a (patch) | |
tree | 6c7e762c643cfc8da1810ab834e408b88e8f9d3b /etc | |
parent | b93f86b86ded44a0c76a0ae8eff60e0f3a819e77 (diff) | |
download | pfsense-26cea883b9352d6e2b7c23c24dfa12f39173fb2a.zip pfsense-26cea883b9352d6e2b7c23c24dfa12f39173fb2a.tar.gz |
Force fast cgi off in environment < 49 megs of ram
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/system.inc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/etc/inc/system.inc b/etc/inc/system.inc index 63e755f..5e33618 100644 --- a/etc/inc/system.inc +++ b/etc/inc/system.inc @@ -580,6 +580,10 @@ function system_generate_lighty_config($filename, $max_procs = 1; $max_requests = 1; } + + if($avail > 0 and $avail < 49) { + $fast_cgi_enable = false; + } if($fast_cgi_enable == true) { $module = "\"mod_fastcgi\", \"mod_cgi\""; |