source: branches/1.1/xcache.ini @ 255

Last change on this file since 255 was 255, checked in by moo, 8 years ago
  • fix build on rare arch
  • fix build on Mac OS X
  • merged from trunk: 159,161-162,167-180,182,184,186-187,194
    • [194] PHP_5_2: new element in zend_brk_cont_element
    • [186] [187] fix build on some rare arch
    • [184] fix tplcov
    • [178] fix type processor_t conflict with Mac OS X
File size: 2.4 KB
Line 
1[xcache-common]
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
4; zend_extension_ts = /usr/local/lib/php/extensions/non-debug-zts-xxx/xcache.so
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
11
12; required for >=php5.1 if you turn XCache on
13auto_globals_jit = Off
14
15[xcache.admin]
16xcache.admin.user = "mOo"
17; xcache.admin.pass = md5($your_password)
18xcache.admin.pass = ""
19
20[xcache]
21; ini only settings, all the values here is default unless explained
22
23; select low level shm/allocator scheme implemenation
24xcache.shm_scheme =        "mmap"
25; to disable: xcache.size=0
26; to enable : xcache.size=64M etc (any size > 0) and your system mmap allows
27xcache.size  =                0M
28; set to cpu count (cat /proc/cpuinfo |grep -c processor)
29xcache.count =                 1
30; just a hash hints, you can always store count(items) > slots
31xcache.slots =                8K
32; ttl of the cache item, 0=forever
33xcache.ttl   =                 0
34; interval of gc scanning expired items, 0=no scan, other values is in seconds
35xcache.gc_interval =           0
36
37; same as aboves but for variable cache
38xcache.var_size  =            0M
39xcache.var_count =             1
40xcache.var_slots =            8K
41; default ttl
42xcache.var_ttl   =             0
43xcache.var_maxttl   =          0
44xcache.var_gc_interval =     300
45
46xcache.test =                Off
47; N/A for /dev/zero
48xcache.readonly_protection = Off
49; for *nix, xcache.mmap_path is a file path, not directory.
50; Use something like "/tmp/xcache" if you want to turn on ReadonlyProtection
51; 2 group of php won't share the same /tmp/xcache
52; for win32, xcache.mmap_path=anonymous map name, not file path
53xcache.mmap_path =    "/dev/zero"
54
55
56; leave it blank(disabled) or "/tmp/phpcore/"
57; make sure it's writable by php (without checking open_basedir)
58xcache.coredump_directory =   ""
59
60; per request settings
61xcache.cacher =               On
62xcache.optimizer =           Off
63
64[xcache.coverager]
65; ini only settings
66; make sure it's readable (care open_basedir) coverage viewer script
67xcache.coveragedump_directory = "/tmp/pcov/"
68
69; per request settings, will be auto disabled if xcache.coveragedump_directory is not set
70xcache.coveragedumper         = Off
Note: See TracBrowser for help on using the repository browser.