1
0
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
xcache/xcache-zh-gb2312.ini

73 lines
2.4 KiB

;; <20><><EFBFBD>ļ<EFBFBD>ֻ<EFBFBD><D6BB><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD> php.ini <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD>Ч
[xcache-common]
;; <20><>װ<EFBFBD><D7B0> zend extension (<28>Ƽ<EFBFBD>), ·<><C2B7>һ<EFBFBD><D2BB><EFBFBD><EFBFBD> "$extension_dir/xcache.so"
zend_extension = /usr/local/lib/php/extensions/non-debug-non-zts-xxx/xcache.so
;; Windows ϵͳ<CFB5><CDB3><EFBFBD><EFBFBD>:
zend_extension_ts = c:/php/extensions/php_xcache.dll
;; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҳ<EFBFBD>ɰ<EFBFBD> XCache <20><>װ<EFBFBD><D7B0> extension, ע<><D7A2>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD> extension_dir <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ȷ, <20><><EFBFBD><EFBFBD> xcache.so <20><><EFBFBD><EFBFBD> php_xcache.dll <20>ŵ<EFBFBD><C5B5><EFBFBD>Ŀ¼<C4BF><C2BC><EFBFBD><EFBFBD>
; extension = xcache.so
;; <20><><EFBFBD><EFBFBD> Win32 ϵͳ:
; extension = php_xcache.dll
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> php5.1 <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϰ汾<CFB0><E6B1BE><EFBFBD><EFBFBD> XCache, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
auto_globals_jit = Off
[xcache.admin]
xcache.admin.user = "mOo"
; xcache.admin.pass = md5($<24><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>)
xcache.admin.pass = ""
[xcache]
; <20><><EFBFBD><EFBFBD><EFBFBD>Ķ<EFBFBD><C4B6><EFBFBD>ѡ<EFBFBD><D1A1><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ini <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>޸<EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>г<EFBFBD><D0B3>Ķ<EFBFBD><C4B6><EFBFBD>Ĭ<EFBFBD><C4AC>ֵ, <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>˵<EFBFBD><CBB5>
; select low level shm/allocator scheme implemenation
xcache.shm_scheme = "mmap"
; <20><><EFBFBD><EFBFBD>: xcache.size=0
; <20><><EFBFBD><EFBFBD>: xcache.size=64M ֮<><D6AE> (<28><><EFBFBD><EFBFBD>>0<><30>ֵ) ͬʱ<CDAC><CAB1>ע<EFBFBD><D7A2><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ mmap <20><><EFBFBD><EFBFBD>
xcache.size = 0M
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϊ cpu <20><> (cat /proc/cpuinfo |grep -c processor)
xcache.count = 1
; ֻ<>Ǹ<EFBFBD><C7B8>ο<EFBFBD>ֵ, <20><><EFBFBD><EFBFBD><EFBFBD>Է<EFBFBD><D4B7>ĵش洢<D8B4><E6B4A2><EFBFBD>ڴ<EFBFBD><DAB4><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ(php<68>ű<EFBFBD>/<2F><><EFBFBD><EFBFBD>)
xcache.slots = 8K
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF> ttl, 0=<3D><><EFBFBD><EFBFBD>
xcache.ttl = 0
; ɨ<><C9A8><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ<EFBFBD><C4BF>ʱ<EFBFBD><CAB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD>, 0=<3D><>ɨ<EFBFBD><C9A8>, <20><><EFBFBD><EFBFBD>ֵ<EFBFBD><D6B5><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>λ
xcache.gc_interval = 0
; ͬ<><CDAC>, ֻ<><D6BB><EFBFBD><EFBFBD><EFBFBD>Ա<EFBFBD><D4B1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
xcache.var_size = 0M
xcache.var_count = 1
xcache.var_slots = 8K
; Ĭ<><C4AC>, <20><><EFBFBD><EFBFBD> ini_set()
xcache.var_ttl = 0
; <20><><EFBFBD><EFBFBD>ttlֵ
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>
xcache.test = Off
; /dev/zero ʱ<><CAB1>Ч
xcache.readonly_protection = Off
; <20><><EFBFBD><EFBFBD> *nix ϵͳ, xcache.mmap_path <20><><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ŀ¼, (<28><><EFBFBD>Բ<EFBFBD><D4B2><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD>DZ<EFBFBD><C7B1><EFBFBD><EFBFBD>ܴ<EFBFBD><DCB4><EFBFBD>).
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> ReadonlyProtection, <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "/tmp/xcache"
; 2 <20><> php <20><EFBFBD><EFBFBD><E1B9B2>ͬһ<CDAC><D2BB> /tmp/xcache
; <20><><EFBFBD><EFBFBD> Win32 ϵͳ, xcache.mmap_path=<3D><><EFBFBD><EFBFBD>MAP<41><50><EFBFBD><EFBFBD>, <20><><EFBFBD><EFBFBD><EFBFBD>ļ<EFBFBD>·<EFBFBD><C2B7>. <20><><EFBFBD><EFBFBD>ʹ<EFBFBD><CAB9> XCache <20><><EFBFBD>۱<EFBFBD><DBB1><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ͻ
xcache.mmap_path = "/dev/zero"
; <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> *nix ϵͳ
; <20><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA>(<28><><EFBFBD><EFBFBD>) <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> "/tmp/phpcore/"
; ע<><D7A2><EFBFBD><EFBFBD>Ŀ¼Ӧ<C2BC><D3A6><EFBFBD>ܱ<EFBFBD> php д<><D0B4><EFBFBD>ļ<EFBFBD> (<28><> open_basedir <20>޹<EFBFBD>)
xcache.coredump_directory = ""
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
[xcache.coverager]
; <20><>ȷ<EFBFBD><C8B7><EFBFBD><EFBFBD>Ŀ¼<C4BF>ܱ<EFBFBD> coverage viewer <20>ű<EFBFBD><C5B1><EFBFBD>ȡ (ע<><D7A2> open_basedir)
xcache.coveragedump_directory = "/tmp/pcov/"
; <20><><EFBFBD><EFBFBD> xcache.coveragedump_directory <20><><EFBFBD><EFBFBD>Ϊ<EFBFBD><CEAA><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Զ<EFBFBD>Ϊ Off
xcache.coveragedumper = Off