Guest User

Untitled

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