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

Last change on this file since 1182 was 1182, checked in by moo, 23 months ago

adds xcache.coredump_type, updated ini example

  • Property svn:eol-style set to native
File size: 2.5 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; Ñ¡Ôñµ×²ãÄÚ´æ¹²ÏíʵÏÖ·½°¸
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; Ö»ÊǸö hash ²Î¿¼Öµ, ʵ¼Ê´æ´¢ÏîÄ¿(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; ½öÔÚ XCache Ò쳣ʱÓÐÓÃ. ÉèÖÃΪ¿Õ(½ûÓÃ) »òÕßÀàËÆ "/tmp/phpcore/" (Äܱ» php дÈëÎļþ)
52xcache.coredump_directory =   ""
53; ½öÓÃÓÚ Windows. ³ý·Ç XCache ¿ª·¢ÈËÔ±¸æËßÄã, ·ñÔò±£³ÖĬÈÏÖµ
54xcache.coredump_type =         0
55
56; Ò쳣ʱ×Ô¶¯½ûÖ¹»º´æ
57xcache.disable_on_crash =    Off
58
59; ÆôÓÃʵÑéÐÔ¹¦ÄÜ (Èç¹ûÓÐ)
60xcache.experimental =        Off
61
62; ÒÔÏÂÊÇ Request ¼¶¿É¸ÄÉèÖÃ. ¿ÉÒÔ ini_set, .htaccess µÈ
63xcache.cacher =               On
64xcache.stat   =               On
65xcache.optimizer =           Off
66
67[xcache.coverager]
68; ±¾¹¦ÄÜ¿ªÆôºó½µµÍÔËÐÐÐÔÄÜ
69; ½öÔÚ xcache.coverager == On && xcache.coveragedump_directory == "·Ç¿ÕÖµ" ʱ±¾¹¦ÄܲŻáÆôÓÃ
70
71; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
72; ÆôÓôúÂëÁ÷³Ì¸²¸ÇÃæÐÅÏ¢²É¼¯ÒÔ¼° xcache_coverager_start/stop/get/clean() µÈº¯Êý
73xcache.coverager =           Off
74xcache.coverager_autostart =  On
75
76; ½öÔÚ php ini ÎļþÄÚÉèÖÃ
77; ÇëÈ·±£±¾Ä¿Â¼Äܱ» coverage viewer ½Å±¾¶ÁÈ¡ (×¢Òâ open_basedir)
78xcache.coveragedump_directory = ""
Note: See TracBrowser for help on using the repository browser.