php - installing xcache on xampp -
im trying install cxcache on xampp. have done:
copied dll file php/ext/ folder
added xcache.ini php.ini
so xcache part of php.ini looks this:
[xcache-common] ;; install zend extension (recommended), "$extension_dir/xcache.so" zend_extension = c:/xampp/php/extensions/non-debug-non-zts-xxx/xcache.so ; zend_extension_ts = c:/xampp/php/extensions/non-debug-zts-xxx/xcache.so ;; windows users, replace xcache.so php_xcache.dll zend_extension_ts = c:/xampp/php/extensions/php_xcache.dll ;; or install extension, make sure extension_dir setting correct ; extension = xcache.so ;; or win32: ; extension = php_xcache.dll ; required >=php5.1 if turn xcache on auto_globals_jit = off [xcache.admin] xcache.admin.user = "moo" ; xcache.admin.pass = md5($your_password) xcache.admin.pass = "5f4dcc3b5aa765d61d8327deb882cf99" [xcache] ; ini settings, values here default unless explained ; disable: xcache.size=0 ; enable : xcache.size=64m etc (any size > 0) , system mmap allows xcache.size = 0m ; uncomment , set cpu count (cat /proc/cpuinfo |grep -c processor) xcache.count = 1 ; hash hints, can store count(items) > slots xcache.slots = 8k ; same aboves variable cache xcache.var_size = 0m xcache.var_count = 1 xcache.var_slots = 8k xcache.test = off ; n/a /dev/zero xcache.readonly_protection = off ; win32, xcache.mmap_path=anonymous map name, not file path ; uncomment , change "/tmp/xcache" readonly protection ; 2 group of php won't share same /tmp/xcache ; other os, it's file not directory xcache.mmap_path = "/dev/zero" ; leave blank(disabled) or "/tmp/phpcore/" ; make sure it's writable php (without checking open_basedir) xcache.coredump_directory = "" ; per request settings xcache.cacher = on xcache.optimizer = off [xcache.coverager] ; ini settings ; make sure it's readable (care open_basedir) coverage viewer script xcache.coveragedump_directory = "/tmp/pcov/" ; per request settings, auto disabled if xcache.coveragedump_directory not set xcache.coveragedumper = off
when phpinfo not show xcache info. dont know do. wrong?
Comments
Post a Comment