summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2010-07-30 20:12:11 -0400
committerScott Ullrich <sullrich@pfsense.org>2010-07-30 20:12:11 -0400
commit21a6662ca722a49d5194b5d9312397a149142984 (patch)
tree9f2857cad156ca7e55e61b60d60839381a085e1c /etc/rc.php_ini_setup
parentcddedb4083488a8d93b9bcbd18c47db8b1a1ae3e (diff)
downloadpfsense-21a6662ca722a49d5194b5d9312397a149142984.zip
pfsense-21a6662ca722a49d5194b5d9312397a149142984.tar.gz
Use 97 megabytes, apc is not a module so do not set
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup6
1 files changed, 1 insertions, 5 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index eaaac6f..ee864e7 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -198,12 +198,8 @@ done
# Get amount of ram installed on this system
RAM=`sysctl hw.realmem | awk '{print $2/1000000}' | awk -F '.' '{print $1}'`
export RAM
-if [ $RAM -lt 65 ]; then
+if [ $RAM -lt 97 ]; then
cat >>/usr/local/lib/php.ini <<EOF
-; APC Settings
-apc.enabled="0"
-apc.enable_cli="0"
-apc.shm_size="1"
[suhosin]
suhosin.get.max_array_depth = 5000
OpenPOWER on IntegriCloud