Skip to content

Instantly share code, notes, and snippets.

@h0tw1r3
Created July 31, 2012 16:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save h0tw1r3/3218465 to your computer and use it in GitHub Desktop.
Save h0tw1r3/3218465 to your computer and use it in GitHub Desktop.
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