Skip to content

Instantly share code, notes, and snippets.

@h0tw1r3
Created Jul 31, 2012
Embed
What would you like to do?
Centos 5.8 xcache config for PHP 5.3.3
[xcache-common]
; change 'lib64' to 'lib' for 32bit
zend_extension = /usr/lib64/php/modules/xcache.so
[xcache]
xcache.shm_scheme = "mmap"
xcache.size = 64M
xcache.count = 1
xcache.slots = 8K
xcache.ttl = 3600
xcache.gc_interval = 300
xcache.var_size = 4M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 3600
xcache.var_max_ttl = 0
xcache.var_gc_interval = 300
xcache.mmap_path = "/tmp/xcache"
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
xcache.coverager = Off
xcache.coveragedump_directory = ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment