Changeset 927 in svn for trunk/xcache-zh-gb2312.ini


Ignore:
Timestamp:
2012-06-26T04:21:04Z (3 years ago)
Author:
Xuefer
Message:

improve notes in ini

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache-zh-gb2312.ini

    r895 r927  
    11;; ±¾ÎļþÖ»ÊÇÀý×Ó, ÇëÔÚ php.ini ÀïÉèÖÃÒÔ±ãÉúЧ
    22[xcache-common]
    3 ;; °²×°³É zend extension (ÍƼö), ·¾¶Ò»°ãÊÇ "$extension_dir/xcache.so"
     3;; ¾¯¸æ: zend_extension* = *xcache* ±ØÐëÊÇËùÓÐ zend_extension*=* Ö®ÖеÚÒ»¸ö³öÏÖ
     4;; °²×°³É zend extension, ·¾¶Ò»°ãÊÇ "$extension_dir/xcache.so"
     5;; ²»ÍƼöʹÓà extension=xcache.so
     6
     7;; ·Ç windows Àý×Ó
     8;; install as zend extension, normally "$extension_dir/xcache.so"
    49zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
    510;; Windows ϵͳÀý×Ó:
    611zend_extension_ts = c:/php/extensions/php_xcache.dll
    7 ;; »òÕßÄúÒ²¿É°Ñ XCache °²×°³É extension, ×¢ÒâÈ·±£ÄúµÄ extension_dir ÉèÖÃÕýÈ·, ²¢°Ñ xcache.so »òÕß php_xcache.dll ·Åµ½¸ÃĿ¼ÀïÃæ
    8 ; extension = xcache.so
    9 ;; »òÕß Win32 ϵͳ:
    10 ; extension = php_xcache.dll
     12;; ¶ÔÓÚа汾 PHP, _ts ºó׺ÒѾ­ÒƳý, ÇëʹÓÃÏÂÃæÕâÐÐ
     13zend_extension = c:/php/extensions/php_xcache.dll
    1114
    1215[xcache.admin]
     
    1417xcache.admin.user = "mOo"
    1518; xcache.admin.pass = md5($ÄúµÄÃÜÂë)
     19; µÇ¼ʹÓà $your_password
    1620xcache.admin.pass = ""
    1721
     
    2327; ½ûÓÃ: xcache.size=0
    2428; ÆôÓÃ: xcache.size=64M Ö®Àà (ÈÎÒâ>0µÄÖµ) ͬʱÇë×¢ÒâÄúµÄϵͳ mmap ÉÏÏÞ
    25 xcache.size  =                0M
     29xcache.size  =               60M
    2630; ½¨ÒéÉèÖÃΪ cpu Êý (cat /proc/cpuinfo |grep -c processor)
    2731xcache.count =                 1
     
    3438
    3539; ͬÉÏ, Ö»ÊÇÕë¶Ô±äÁ¿»º´æÉèÖÃ
    36 xcache.var_size  =            0M
     40xcache.var_size  =            4M
    3741xcache.var_count =             1
    3842xcache.var_slots =            8K
    39 ; ĬÈÏ, ÔÊÐí ini_set()
     43; xcache_*() º¯Êý ttl ²ÎÊýµÄĬÈÏÖµ
    4044xcache.var_ttl   =             0
    41 ; ×î´óttlÖµ
     45; ÏÞÖÆ xcache_*() º¯Êý ttl ²ÎÊý²»³¬¹ý´ËÉèÖÃ. 0=²»ÏÞÖÆ
    4246xcache.var_maxttl   =          0
    4347xcache.var_gc_interval =     300
    4448
    45 ; ½ö²âÊÔÓÃ
    46 xcache.test =                Off
    4749; /dev/zero ʱÎÞЧ
    4850xcache.readonly_protection = Off
    49 ; ¶ÔÓÚ *nix ϵͳ, xcache.mmap_path ÊÇÎļþ·¾¶¶ø²»ÊÇĿ¼, (¿ÉÒÔ²»´æÔÚ µ«ÊDZØÐëÄÜ´´½¨).
    50 ; Èç¹ûÄúÆÚÍûÆôÓà ReadonlyProtection, ¿ÉÒÔʹÓÃÀàËÆ "/tmp/xcache"
    51 ; 2 ¸ö php ×é²»»á¹²Ïíͬһ¸ö /tmp/xcache
     51; ¶ÔÓÚ *nix ϵͳ, xcache.mmap_path ÊÇÎļþ·¾¶¶ø²»ÊÇĿ¼. (×Ô¶¯´´½¨/¸²¸Ç)
     52; Èç¹ûÄúÆÚÍûÆôÓà ReadonlyProtection, ±ØÐë±ÜÃâʹÓà "/dev/*", ¿ÉÒÔʹÓÃÀàËÆ "/tmp/xcache"
     53; ²»Í¬ php ½ø³Ì×é²»»á¹²Ïíͬһ¸ö /tmp/xcache
    5254; ¶ÔÓÚ Win32 ϵͳ, xcache.mmap_path=ÄäÃûMAPÃû×Ö, ²»ÊÇÎļþ·¾¶. ½¨ÒéʹÓà XCache ×ÖÑÛ±ÜÃâ¸úÆäËûÈí¼þ³åÍ»
    5355xcache.mmap_path =    "/dev/zero"
     
    5961xcache.coredump_directory =   ""
    6062
     63; ÆôÓÃʵÑéÐÔ¹¦ÄÜ (Èç¹ûÓÐ)
     64xcache.experimental =        Off
     65
     66; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
    6167xcache.cacher =               On
    6268xcache.stat   =               On
     
    6470
    6571[xcache.coverager]
     72; ±¾¹¦ÄÜ¿ªÆôºó½µµÍÔËÐÐÐÔÄÜ
     73; ¾¡ÔÚ xcache.coverager == On && xcache.coveragedump_directory == "·Ç¿ÕÖµ" ʱ±¾¹¦ÄܲŻáÆôÓÃ
    6674
    67 ; Èç¹û xcache.coveragedump_directory ÉèÖÃΪ¿ÕÔò±¾ÉèÖÃ×Ô¶¯Îª Off
     75; per request settings. ¿ÉÒÔ ini_set, .htaccess µÈ
     76; ÆôÓôúÂëÁ÷³Ì¸²¸ÇÃæÐÅÏ¢²É¼¯ÒÔ¼° xcache_coverager_start/stop/get/clean() µÈº¯Êý
    6877xcache.coverager =          Off
    6978
     79; ½öÔÚ php ini ÎļþÄÚÉèÖÃ
    7080; ÇëÈ·±£±¾Ä¿Â¼Äܱ» coverage viewer ½Å±¾¶ÁÈ¡ (×¢Òâ open_basedir)
    71 ; ÒÀÀµÓÚ xcache.coverager=On
    7281xcache.coveragedump_directory = ""
Note: See TracChangeset for help on using the changeset viewer.