6700 发表于 2014-6-20 12:22:58

xcache 装了后登录他的管理页就出错

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 5.3.28 (cli) (built: Jun 13 2014 23:43:12)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
    with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
    with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
    with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
    with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo
看起来也加载了啊

重启php-fpm也没用 一样出错

extension = xcache.so


xcache.admin.enable_auth = On
xcache.admin.user = "admin"
;run: echo -n "yourpassword" |md5sum |awk '{print }' to get md5 password
xcache.admin.pass = 这里LZ手动屏蔽


xcache.shm_scheme =      "mmap"
xcache.size=               20M
; set to cpu count (cat /proc/cpuinfo |grep -c processor)
xcache.count =               2
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

[ 本帖最后由 6700 于 2014-6-20 12:25 编辑 ]

licess 发表于 2014-6-20 18:56:37

一般就是可能php没加载,重启php-fpm就行了
配置里其他没错误

6700 发表于 2014-6-20 22:01:52

原帖由 licess 于 2014-6-20 18:56 发表 https://bbs.vpser.net/images/common/back.gif
一般就是可能php没加载,重启php-fpm就行了
配置里其他没错误 也就是说这东西后台提示的这错误就不管它了?无视即可对吧 囧
建议注明在安装那边 报错怪吓人的

killsystem 发表于 2014-8-15 00:57:46

我也是同样的错误。。。。。。迷茫
页: [1]
查看完整版本: xcache 装了后登录他的管理页就出错