summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-12-26 19:27:40 +0000
committerErmal <eri@pfsense.org>2013-12-26 19:27:40 +0000
commit7b03748b37503e11fcb92075a375305fb06c9366 (patch)
treee2da58495690f843324c7762801af89c3094fc9d /etc/rc.php_ini_setup
parent3f248cb65a25189f7cff8f6ad4321998caaab073 (diff)
downloadpfsense-7b03748b37503e11fcb92075a375305fb06c9366.zip
pfsense-7b03748b37503e11fcb92075a375305fb06c9366.tar.gz
Correct the php-fpm configuration generation
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index 7cda247..4f828cc 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -299,7 +299,7 @@ EOF
PHPFPMMAX=3
-if [ "$LOWMEM" = "TRUE" ]; then
+if [ $REALMEM -lt 250 ]; then
PHPFPMMAX=2
elif [ ${REALMEM} -gt 1000 ]; then
PHPFPMMAX=4
OpenPOWER on IntegriCloud