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

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

refactor: split extension init to sub module. TODO: compatibility regression

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