2006-05-09 10:58:38 +00:00
|
|
|
[xcache-common]
|
|
|
|
;; install as extension, make sure your extension_dir setting is correct
|
|
|
|
extension = xcache.so
|
|
|
|
;; or install as zend extension, normally "$extension_dir/xcache.so"
|
|
|
|
; zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
|
|
|
|
|
|
|
|
; required for >=php5.1 if you turn xcache on
|
|
|
|
auto_globals_jit = Off
|
|
|
|
|
|
|
|
[xcache]
|
|
|
|
; ini only settings, all the values here is default
|
|
|
|
; to disable: xcache.size=0
|
|
|
|
; to enable : xcache.size=any size > 0 and your system mmap allows
|
|
|
|
xcache.size = 0
|
|
|
|
; uncomment and set to cpu count (cat /proc/cpuinfo |grep -c processor)
|
|
|
|
xcache.count = 1
|
2006-05-27 06:12:10 +00:00
|
|
|
; just a hash hints, you can always store count(items) > slots
|
2006-05-09 10:58:38 +00:00
|
|
|
xcache.slots = 8K
|
|
|
|
|
|
|
|
; same as aboves but for variable cache
|
|
|
|
xcache.var_size = 0
|
|
|
|
xcache.var_count = 1
|
|
|
|
xcache.var_slots = 8K
|
|
|
|
|
|
|
|
xcache.test = Off
|
|
|
|
; N/A for /dev/zero
|
|
|
|
xcache.readonly_protection = Off
|
|
|
|
; uncomment and change to "/tmp/xcache" for readonly protection
|
|
|
|
xcache.mmap_path = "/dev/zero"
|
|
|
|
; leave it blank(disabled) or "/tmp/phpcore/"
|
2006-05-27 06:12:10 +00:00
|
|
|
; make sure it's writable by php (without checking open_basedir)
|
2006-05-09 10:58:38 +00:00
|
|
|
xcache.coredump_directory = ""
|
|
|
|
|
2006-05-27 06:12:10 +00:00
|
|
|
; per request settings
|
2006-05-09 10:58:38 +00:00
|
|
|
xcache.cacher = On
|
|
|
|
xcache.optimizer = Off
|
2006-05-27 06:12:10 +00:00
|
|
|
|
|
|
|
[xcache.coverager]
|
|
|
|
; ini only settings
|
|
|
|
; xcache.coveragedump_directory = "/tmp/pcov/"
|
|
|
|
xcache.coveragedump_directory = ""
|
|
|
|
; per request settings, disable if xcache.coveragedump_directory is not set
|
|
|
|
xcache.coveragedumper = On
|