【发布时间】:2011-02-21 19:25:41
【问题描述】:
我在 suse 10.1 上运行 apache+php+memcache。
我可以将 Ok 连接到端口 11211 上的 memcached,但我无法执行 getVersion、添加、获取等操作。
错误信息:
[Thu Jan 21 14:38:15 2010] [error] [client ] PHP Notice: Memcache::add() [function.Memcache-add]: Server localhost (tcp 11211) failed with: Failed reading line from第 13 行 /testmem/index.php 中的流 (0)
如何调试?
【问题讨论】:
-
你能连接到 memacache 并在 shell 中发出命令吗?
-
我可以通过 'telnet localhost 11211' 连接到 memcache,但是如何在 shell 中发出命令?
-
谢谢!我无法在 shell 中发出任何命令(这是在 SLES10 上)我使用 zypper 在 SLES11 上安装了 memcached,一切都很好。