root/trunk/xcache-zh-gb2312.ini @ 927

Revision 927, 2.8 KB (checked in by moo, 11 months ago)

improve notes in ini

  • Property svn:eol-style set to native
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 browser.