source: trunk/xcache.ini @ 895

Last change on this file since 895 was 895, checked in by moo, 2 years ago

adds xcache.admin.enable_auth

  • Property svn:eol-style set to native
File size: 2.6 KB
RevLine 
[1]1[xcache-common]
[44]2;; install as zend extension (recommended), normally "$extension_dir/xcache.so"
3zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
[168]4; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
[44]5;; For windows users, replace xcache.so with php_xcache.dll
6zend_extension_ts = c:/php/extensions/php_xcache.dll
7;; or install as extension, make sure your extension_dir setting is correct
8; extension = xcache.so
9;; or win32:
10; extension = php_xcache.dll
[1]11
[34]12[xcache.admin]
[895]13xcache.admin.enable_auth = On
[34]14xcache.admin.user = "mOo"
15; xcache.admin.pass = md5($your_password)
16xcache.admin.pass = ""
17
[1]18[xcache]
[39]19; ini only settings, all the values here is default unless explained
[162]20
21; select low level shm/allocator scheme implemenation
22xcache.shm_scheme =        "mmap"
[1]23; to disable: xcache.size=0
[167]24; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
[536]25xcache.size  =               60M
[127]26; set to cpu count (cat /proc/cpuinfo |grep -c processor)
[1]27xcache.count =                 1
[33]28; just a hash hints, you can always store count(items) > slots
[1]29xcache.slots =                8K
[114]30; ttl of the cache item, 0=forever
31xcache.ttl   =                 0
32; interval of gc scanning expired items, 0=no scan, other values is in seconds
33xcache.gc_interval =           0
[1]34
35; same as aboves but for variable cache
[536]36xcache.var_size  =            4M
[1]37xcache.var_count =             1
38xcache.var_slots =            8K
[114]39; default ttl
40xcache.var_ttl   =             0
41xcache.var_maxttl   =          0
42xcache.var_gc_interval =     300
[1]43
44; N/A for /dev/zero
45xcache.readonly_protection = Off
[115]46; for *nix, xcache.mmap_path is a file path, not directory.
47; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
48; 2 group of php won't share the same /tmp/xcache
[39]49; for win32, xcache.mmap_path=anonymous map name, not file path
[1]50xcache.mmap_path =    "/dev/zero"
[39]51
52
[1]53; leave it blank(disabled) or "/tmp/phpcore/"
[849]54; make sure it's writable by php (open_basedir is not checked)
[1]55xcache.coredump_directory =   ""
56
[33]57; per request settings
[1]58xcache.cacher =               On
[165]59xcache.stat   =               On
[1]60xcache.optimizer =           Off
[33]61
[399]62xcache.test =                Off
63xcache.experimental =        Off
64
[33]65[xcache.coverager]
[204]66; per request settings
67; enable coverage data collecting for xcache.coveragedump_directory and xcache_coverager_start/stop/get/clean() functions (will hurt executing performance)
68xcache.coverager =          Off
69
[33]70; ini only settings
[849]71; make sure it's readable (open_basedir is checked) by coverage viewer script
[204]72; requires xcache.coverager=On
73xcache.coveragedump_directory = ""
Note: See TracBrowser for help on using the repository browser.