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

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

fixed #39: ini_set never work for xcache.coverager setting

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