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

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

improve notes in ini

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