VPS侦探论坛

 找回密码
 注册
查看: 6613|回复: 3

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

[复制链接]
发表于 2014-6-20 12:22:58 | 显示全部楼层 |阅读模式

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

  1. PHP 5.3.28 (cli) (built: Jun 13 2014 23:43:12)
  2. Copyright (c) 1997-2013 The PHP Group
  3. Zend Engine v2.3.0, Copyright (c) 1998-2013 Zend Technologies
  4.     with XCache v3.1.0, Copyright (c) 2005-2013, by mOo
  5.     with the ionCube PHP Loader v4.6.1, Copyright (c) 2002-2014, by ionCube Ltd., and
  6.     with Zend Guard Loader v3.3, Copyright (c) 1998-2010, by Zend Technologies
  7.     with XCache Optimizer v3.1.0, Copyright (c) 2005-2013, by mOo
  8.     with XCache Cacher v3.1.0, Copyright (c) 2005-2013, by mOo
  9.     with XCache Coverager v3.1.0, Copyright (c) 2005-2013, by mOo
复制代码

看起来也加载了啊

重启php-fpm也没用 一样出错
  1. [xcache-common]
  2. extension = xcache.so

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

  8. [xcache]
  9. xcache.shm_scheme =        "mmap"
  10. xcache.size  =               20M
  11. ; set to cpu count (cat /proc/cpuinfo |grep -c processor)
  12. xcache.count =                 2
  13. xcache.slots =                8K
  14. xcache.ttl   =                 0
  15. xcache.gc_interval =           0
  16. xcache.var_size  =            4M
  17. xcache.var_count =             1
  18. xcache.var_slots =            8K
  19. xcache.var_ttl   =             0
  20. xcache.var_maxttl   =          0
  21. xcache.var_gc_interval =     300
  22. xcache.readonly_protection = Off
  23. ; for *nix, xcache.mmap_path is a file path, not directory. (auto create/overwrite)
  24. ; Use something like "/tmp/xcache" instead of "/dev/*" if you want to turn on ReadonlyProtection
  25. ; different process group of php won't share the same /tmp/xcache
  26. xcache.mmap_path =    "/dev/zero"
  27. xcache.coredump_directory =   ""
  28. xcache.experimental =        Off
  29. xcache.cacher =               On
  30. xcache.stat   =               On
  31. xcache.optimizer =           Off

  32. [xcache.coverager]
  33. ; enabling this feature will impact performance
  34. ; enable only if xcache.coverager == On && xcache.coveragedump_directory == "non-empty-value"
  35. ; enable coverage data collecting and xcache_coverager_start/stop/get/clean() functions
  36. xcache.coverager =          Off
  37. xcache.coveragedump_directory = ""
  38. ;xcache end
复制代码

[ 本帖最后由 6700 于 2014-6-20 12:25 编辑 ]
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-6-20 18:56:37 | 显示全部楼层


一般就是可能php没加载,重启php-fpm就行了
配置里其他没错误
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2014-6-20 22:01:52 | 显示全部楼层

原帖由 licess 于 2014-6-20 18:56 发表
一般就是可能php没加载,重启php-fpm就行了
配置里其他没错误
也就是说这东西后台提示的这错误就不管它了?无视即可对吧 囧
建议注明在安装那边 报错怪吓人的
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2014-8-15 00:57:46 | 显示全部楼层



我也是同样的错误。。。。。。迷茫
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-26 01:19 , Processed in 0.026197 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表