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

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

adds xcache.coredump_type, updated ini example

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