summaryrefslogtreecommitdiffstats
path: root/etc/rc.php_ini_setup
diff options
context:
space:
mode:
authorErik Fonnesbeck <efonnes@gmail.com>2010-12-30 02:49:25 -0700
committerErik Fonnesbeck <efonnes@gmail.com>2010-12-30 02:49:25 -0700
commiteebccaca852fdee4774fb56eb87f9bb9853eb40b (patch)
treeadd69a9385dcc72963d36a6d6f1e9320fe61164c /etc/rc.php_ini_setup
parente8f4a58f0fa38508a6e09eb96d27978653a48547 (diff)
downloadpfsense-eebccaca852fdee4774fb56eb87f9bb9853eb40b.zip
pfsense-eebccaca852fdee4774fb56eb87f9bb9853eb40b.tar.gz
Fix PHP warning related to recent update of apc extension.
Diffstat (limited to 'etc/rc.php_ini_setup')
-rwxr-xr-xetc/rc.php_ini_setup16
1 files changed, 8 insertions, 8 deletions
diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup
index 6fc7589..67aceaf 100755
--- a/etc/rc.php_ini_setup
+++ b/etc/rc.php_ini_setup
@@ -44,28 +44,28 @@ fi
# Calculate APC SHM size according
# to detected memory values
if [ "$AVAILMEM" -lt "65" ]; then
- APCSHMEMSIZE="1"
+ APCSHMEMSIZE="1M"
fi
if [ "$AVAILMEM" -lt "96" ]; then
- APCSHMEMSIZE="5"
+ APCSHMEMSIZE="5M"
fi
if [ "$AVAILMEM" -lt "128" ]; then
- APCSHMEMSIZE="10"
+ APCSHMEMSIZE="10M"
fi
if [ "$AVAILMEM" -gt "128" ]; then
- APCSHMEMSIZE="15"
+ APCSHMEMSIZE="15M"
fi
if [ "$AVAILMEM" -gt "256" ]; then
- APCSHMEMSIZE="20"
+ APCSHMEMSIZE="20M"
fi
if [ "$AVAILMEM" -gt "384" ]; then
- APCSHMEMSIZE="25"
+ APCSHMEMSIZE="25M"
fi
if [ "$AVAILMEM" -gt "512" ]; then
- APCSHMEMSIZE="30"
+ APCSHMEMSIZE="30M"
fi
if [ "$AVAILMEM" -gt "784" ]; then
- APCSHMEMSIZE="35"
+ APCSHMEMSIZE="35M"
fi
# Set upload directory
OpenPOWER on IntegriCloud