Advertisement
Guest User

Untitled

a guest
Jun 1st, 2017
98
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.13 KB | None | 0 0
  1. [xcache-common]
  2. zend_extension = /usr/lib/php/modules/xcache.so
  3.  
  4. [xcache.admin]
  5. xcache.admin.auth = On
  6. xcache.admin.user = "admin"
  7. ; xcache.admin.pass = md5($your_password)
  8. xcache.admin.pass = ""
  9.  
  10. [xcache]
  11. xcache.shm_scheme = "mmap"
  12. xcache.size = 60M
  13. xcache.count = 2
  14. xcache.slots = 8K
  15. xcache.ttl = 3600
  16. xcache.gc_interval = 300
  17.  
  18. ; Same as aboves but for variable cache
  19. ; If you don't know for sure that you need this, you probably don't
  20. xcache.var_size = 4M
  21. xcache.var_count = 1
  22. xcache.var_slots = 8K
  23. xcache.var_ttl = 3600
  24. xcache.var_maxttl = 3600
  25. xcache.var_gc_interval = 300
  26.  
  27. ; N/A for /dev/zero
  28. xcache.readonly_protection = Off
  29.  
  30. ; for *nix, xcache.mmap_path is a file path, not directory.
  31. ; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
  32. ; 2 group of php won't share the same /tmp/xcache
  33. ; for win32, xcache.mmap_path=anonymous map name, not file path
  34. xcache.mmap_path = "/dev/zero"
  35.  
  36. xcache.cacher = On
  37. xcache.stat = On
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement