SHARE
TWEET

Untitled

a guest May 27th, 2018 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [xcache-common]
  2. extension = xcache.so
  3. [xcache.admin]
  4. xcache.admin.user = "xc"
  5. ; xcache.admin.pass = md5($your_password)
  6. xcache.admin.pass = ""
  7. [xcache]
  8. ; ini only settings, all the values here is default unless explained
  9. ; select low level shm/allocator scheme implemenation
  10. xcache.shm_scheme =        "mmap"
  11. ; to disable: xcache.size=0
  12. ; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
  13. xcache.size  =                64M
  14. ; set to cpu count (cat /proc/cpuinfo |grep -c processor)
  15. xcache.count =                 1
  16. ; just a hash hints, you can always store count(items) > slots
  17. xcache.slots =                8K
  18. ; ttl of the cache item, 0=forever
  19. xcache.ttl   =                 0
  20. ; interval of gc scanning expired items, 0=no scan, other values is in seconds
  21. xcache.gc_interval =           0
  22. ; same as aboves but for variable cache
  23. xcache.var_size  =            64M
  24. xcache.var_count =             1
  25. xcache.var_slots =            8K
  26. ; default ttl
  27. xcache.var_ttl   =             0
  28. xcache.var_maxttl   =          0
  29. xcache.var_gc_interval =     300
  30. xcache.test =                Off
  31. ; N/A for /dev/zero
  32. xcache.readonly_protection = Off
  33. ; for *nix, xcache.mmap_path is a file path, not directory.
  34. ; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
  35. ; 2 group of php won't share the same /tmp/xcache
  36. ; for win32, xcache.mmap_path=anonymous map name, not file path
  37. xcache.mmap_path =    "/dev/zero"
  38.  
  39. ; leave it blank(disabled) or "/tmp/phpcore/"
  40. ; make sure it's writable by php (without checking open_basedir)
  41. xcache.coredump_directory =   ""
  42. ; per request settings
  43. xcache.cacher =               On
  44. xcache.stat   =               On
  45. xcache.optimizer =            On
  46. [xcache.coverager]
  47. ; per request settings
  48. ; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
  49. xcache.coverager =          Off
  50. ; ini only settings
  51. ; make sure it's readable (care open_basedir) by coverage viewer script
  52. ; requires xcache.coverager=On
  53. xcache.coveragedump_directory = ""
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top