source: trunk/xcache-zh-gb2312.ini @ 1106

Last change on this file since 1106 was 1106, checked in by moo, 21 months ago

adds disable_on_crash support for win32

  • Property svn:eol-style set to native
File size: 2.4 KB
Line 
1;; ±¾ÎļþÖ»ÊÇÀý×Ó, ÇëÔÚ php.ini ÀïÉèÖÃÒÔ±ãÉúЧ
2[xcache-common]
3;; ·Ç windows Àý×Ó:
4extension = xcache.so
5;; Windows ϵͳÀý×Ó:
6; extension = php_xcache.dll
7
8[xcache.admin]
9xcache.admin.enable_auth = On
10xcache.admin.user = "mOo"
11; xcache.admin.pass = md5($ÄúµÄÃÜÂë)
12; µÇ¼ʹÓà $your_password
13xcache.admin.pass = ""
14
15[xcache]
16; ÕâÀïµÄ¶àÊýÑ¡Ïî½öÔÚ ini Àï¿ÉÒÔÐÞ¸Ä, ÕâÀïÁгöµÄ¶¼ÊÇĬÈÏÖµ, ³ý·ÇÁíÍâ˵Ã÷
17
18; select low level shm/allocator scheme implemenation
19xcache.shm_scheme =        "mmap"
20; ½ûÓÃ: xcache.size=0
21; ÆôÓÃ: xcache.size=64M Ö®Àà (ÈÎÒâ>0µÄÖµ) ͬʱÇë×¢ÒâÄúµÄϵͳ mmap ÉÏÏÞ
22xcache.size  =               60M
23; ½¨ÒéÉèÖÃΪ cpu Êý (cat /proc/cpuinfo |grep -c processor)
24xcache.count =                 1
25; Ö»ÊǸö²Î¿¼Öµ, Äú¿ÉÒÔ·ÅÐĵش洢¶àÓÚ´ËÊýÁ¿µÄÏîÄ¿(php½Å±¾/±äÁ¿)
26xcache.slots =                8K
27; »º´æÏîÄ¿µÄ ttl, 0=ÓÀ¾Ã
28xcache.ttl   =                 0
29; ɨÃè¹ýÆÚÏîÄ¿µÄʱ¼ä¼ä¸ô, 0=²»É¨Ãè, ÆäËûÖµÒÔÃëΪµ¥Î»
30xcache.gc_interval =           0
31
32; ͬÉÏ, Ö»ÊÇÕë¶Ô±äÁ¿»º´æÉèÖÃ
33xcache.var_size  =            4M
34xcache.var_count =             1
35xcache.var_slots =            8K
36; xcache_*() º¯Êý ttl ²ÎÊýµÄĬÈÏÖµ
37xcache.var_ttl   =             0
38; ÏÞÖÆ xcache_*() º¯Êý ttl ²ÎÊý²»³¬¹ý´ËÉèÖÃ. 0=²»ÏÞÖÆ
39xcache.var_maxttl   =          0
40xcache.var_gc_interval =     300
41
42; /dev/zero ʱÎÞЧ
43xcache.readonly_protection = Off
44; ¶ÔÓÚ *nix ϵͳ, xcache.mmap_path ÊÇÎļþ·¾¶¶ø²»ÊÇĿ¼. (×Ô¶¯´´½¨/¸²¸Ç)
45; Èç¹ûÄúÆÚÍûÆôÓà ReadonlyProtection, ±ØÐë±ÜÃâʹÓà "/dev/*", ¿ÉÒÔʹÓÃÀàËÆ "/tmp/xcache"
46; ²»Í¬ php ½ø³Ì×é²»»á¹²Ïíͬһ¸ö /tmp/xcache
47; ¶ÔÓÚ Win32 ϵͳ, xcache.mmap_path=ÄäÃûMAPÃû×Ö, ²»ÊÇÎļþ·¾¶. ½¨ÒéʹÓà XCache ×ÖÑÛ±ÜÃâ¸úÆäËûÈí¼þ³åÍ»
48xcache.mmap_path =    "/dev/zero"
49
50
51; ÉèÖÃΪ¿Õ(½ûÓÃ) »òÕßÀàËÆ "/tmp/phpcore/"
52; ×¢Òâ¸ÃĿ¼Ӧ¸ÃÄܱ» php дÈëÎļþ (¸ú open_basedir ÎÞ¹Ø)
53xcache.coredump_directory =   ""
54; disable cache after crash
55xcache.disable_on_crash =    Off
56
57; ÆôÓÃʵÑéÐÔ¹¦ÄÜ (Èç¹ûÓÐ)
58xcache.experimental =        Off
59
60; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
61xcache.cacher =               On
62xcache.stat   =               On
63xcache.optimizer =           Off
64
65[xcache.coverager]
66; ±¾¹¦ÄÜ¿ªÆôºó½µµÍÔËÐÐÐÔÄÜ
67; ¾¡ÔÚ xcache.coverager == On && xcache.coveragedump_directory == "·Ç¿ÕÖµ" ʱ±¾¹¦ÄܲŻáÆôÓÃ
68
69; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
70; ÆôÓôúÂëÁ÷³Ì¸²¸ÇÃæÐÅÏ¢²É¼¯ÒÔ¼° xcache_coverager_start/stop/get/clean() µÈº¯Êý
71xcache.coverager =          Off
72
73; ½öÔÚ php ini ÎļþÄÚÉèÖÃ
74; ÇëÈ·±£±¾Ä¿Â¼Äܱ» coverage viewer ½Å±¾¶ÁÈ¡ (×¢Òâ open_basedir)
75xcache.coveragedump_directory = ""
Note: See TracBrowser for help on using the repository browser.