Project

General

Profile

« Previous | Next » 

Revision 21a6662c

Added by Scott Ullrich about 15 years ago

Use 97 megabytes, apc is not a module so do not set

View differences:

etc/rc.php_ini_setup
198 198
# Get amount of ram installed on this system
199 199
RAM=`sysctl hw.realmem | awk '{print $2/1000000}' | awk -F '.' '{print $1}'`
200 200
export RAM
201
if [  $RAM -lt 65 ]; then
201
if [  $RAM -lt 97 ]; then
202 202
	cat >>/usr/local/lib/php.ini <<EOF
203
; APC Settings
204
apc.enabled="0"
205
apc.enable_cli="0"
206
apc.shm_size="1"
207 203

  
208 204
[suhosin]
209 205
suhosin.get.max_array_depth = 5000

Also available in: Unified diff