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

Last change on this file since 927 was 927, checked in by moo, 3 years ago

improve notes in ini

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