Advertisement
Guest User

Untitled

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