source: trunk/xcache.ini @ 39

Last change on this file since 39 was 39, checked in by moo, 8 years ago

update coverager default, update ini inline help

File size: 1.8 KB
Line 
1[xcache-common]
2;; install as extension, make sure your extension_dir setting is correct
3extension = xcache.so
4;; or install as zend extension, normally "$extension_dir/xcache.so"
5; zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
6
7; required for >=php5.1 if you turn xcache on
8auto_globals_jit = Off
9
10[xcache.admin]
11xcache.admin.user = "mOo"
12; xcache.admin.pass = md5($your_password)
13xcache.admin.pass = ""
14
15[xcache]
16; ini only settings, all the values here is default unless explained
17; to disable: xcache.size=0
18; to enable : xcache.size=any size > 0 and your system mmap allows
19xcache.size =                  0
20; uncomment and set to cpu count (cat /proc/cpuinfo |grep -c processor)
21xcache.count =                 1
22; just a hash hints, you can always store count(items) > slots
23xcache.slots =                8K
24
25; same as aboves but for variable cache
26xcache.var_size =              0
27xcache.var_count =             1
28xcache.var_slots =            8K
29
30xcache.test =                Off
31; N/A for /dev/zero
32xcache.readonly_protection = Off
33; for win32, xcache.mmap_path=anonymous map name, not file path
34; uncomment and change to "/tmp/xcache" for readonly protection
35; 2 group of php won't share the same /tmp/xcache
36xcache.mmap_path =    "/dev/zero"
37
38
39; leave it blank(disabled) or "/tmp/phpcore/"
40; make sure it's writable by php (without checking open_basedir)
41xcache.coredump_directory =   ""
42
43; per request settings
44xcache.cacher =               On
45xcache.optimizer =           Off
46
47[xcache.coverager]
48; ini only settings
49; make sure it's readable (care open_basedir) coverage viewer script
50xcache.coveragedump_directory = "/tmp/pcov/"
51
52; per request settings, will be auto disabled if xcache.coveragedump_directory is not set
53xcache.coveragedumper         = Off
Note: See TracBrowser for help on using the repository browser.