Advertisement
Guest User

Untitled

a guest
Aug 7th, 2017
66
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.73 KB | None | 0 0
  1. [xcache.admin]
  2. xcache.admin.auth = On
  3. xcache.admin.user = "admin"
  4. xcache.admin.pass = ""
  5.  
  6. [xcache]
  7. ; ini only settings, all the values here is default unless explained
  8.  
  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 = 4
  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.  
  23. ; same as aboves but for variable cache
  24. xcache.var_size = 64M
  25. xcache.var_count = 1
  26. xcache.var_slots = 8K
  27. ; default ttl
  28. xcache.var_ttl = 0
  29. xcache.var_maxttl = 0
  30. xcache.var_gc_interval = 300
  31.  
  32. xcache.test = Off
  33. ; N/A for /dev/zero
  34. xcache.readonly_protection = Off
  35. ; for *nix, xcache.mmap_path is a file path, not directory.
  36. ; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection ; 2 group of php won't share the same /tmp/xcache ; for win32, xcache.mmap_path=anonymous map name, not file path
  37. ;xcache.mmap_path = "/dev/zero"
  38. xcache.mmap_path=anonymous
  39.  
  40.  
  41. ; leave it blank(disabled) or "/tmp/phpcore/"
  42. ; make sure it's writable by php (without checking open_basedir):
  43. xcache.coredump_directory = ""
  44.  
  45. ; per request settings
  46. xcache.cacher = On
  47. xcache.stat = On
  48. xcache.optimizer = On
  49. [xcache.coverager]
  50. xcache.coverager = Off
  51. xcache.coveragedump_directory = ""
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement