xcache3.1安装后进管理后台报错!
报错如下Fatal error: xcache_count(): xcache.admin.user and/or xcache.admin.pass settings is not configured. Make sure you've modified the correct php ini file for your php used in webserver. in /home/wwwroot/default/xcache/cacher/index.php on line 259
密码设置了。。。php也重启了。。。还是一样的错误,,求管理大神解决!非常感谢 查看 /usr/local/php/etc/php.ini 文件末尾是否已设置上xcache.admin.user 和xcache.admin.pass
再就是你php是什么版本 php.ini账号和密码都设置了。。。php版本是5.3 好像没安装网站前装xcache一切正常,,,安装完网站在装xcache就错误了:Q 发你php.ini里xcache这部分配置看看
回复 4# 的帖子
我直接把php.ini文件传上来,。。。管理帮忙看下,,,谢谢zend_extension=/usr/local/zend/ZendGuardLoader.so
zend_loader.enable=1
zend_loader.disable_licensing=0
zend_loader.obfuscation_level_support=3
zend_loader.license_path=
open_basedir=/home/wwwroot/www.xxx.com/:/tmp/
open_basedir=/home/wwwroot/www.xxx.com/:/tmp/
;xcache
extension = xcache.so
xcache.admin.enable_auth = On
xcache.admin.user = "隐藏"
;run: echo -n "yourpassword" |md5sum |awk '{print }' to get md5 password
xcache.admin.pass = "隐藏"
xcache.shm_scheme = "mmap"
xcache.size= 20M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count = 4
xcache.slots = 8K
xcache.ttl = 0
xcache.gc_interval = 0
xcache.var_size= 4M
xcache.var_count = 1
xcache.var_slots = 8K
xcache.var_ttl = 0
xcache.var_maxttl = 0
xcache.var_gc_interval = 300
xcache.readonly_protection = Off
; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite)
; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection
; different process group of php won't share the same /tmp/xcache
xcache.mmap_path = "/dev/zero"
xcache.coredump_directory = ""
xcache.experimental = Off
xcache.cacher = On
xcache.stat = On
xcache.optimizer = Off
; enabling this feature will impact performance
; enable only if xcache.coverager == On && xcache.coveragedump_directory == "non-empty-value"
; enable coverage data collecting and xcache_coverager_start/stop/get/clean() functions
xcache.coverager = Off
xcache.coveragedump_directory = ""
;xcache end 配置没问题,不清楚什么原因,你可以xcache.admin.enable_auth = Off 关闭登陆验证试试
你这个系统是哪个,什么版本,32还是64,哪家的vps,lnmp还是lnmpa,具体php版本多少
回复 6# 的帖子
Centos 6.4(32位)香港vps ,lnmp, php版本5.3.28 另外改成xcache.admin.enable_auth = Off也是一样的错误 坐等管理大神,,,各路大神解答! 唉。。。就这样解决不了吗。。。求解决办法 经过不懈的努力排查,,,终于解决了。。。方法共享一下。。。要把域名配置放到xcache后面。。。。怪不得先添加域名后安装xcache会出错了。。。郁闷:lol
页:
[1]