From eebccaca852fdee4774fb56eb87f9bb9853eb40b Mon Sep 17 00:00:00 2001 From: Erik Fonnesbeck Date: Thu, 30 Dec 2010 02:49:25 -0700 Subject: [PATCH] Fix PHP warning related to recent update of apc extension. --- etc/rc.php_ini_setup | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/etc/rc.php_ini_setup b/etc/rc.php_ini_setup index 6fc75899c5..67aceaf7d5 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