cannot store values into memcache
问题 I am running apache+php+memcache on suse 10.1. I can connect Ok to memcached on port 11211, but I cannot do getVersion, add, get, etc. Error message: [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 stream (0) in /testmem/index.php on line 13 How can I debug this? 回答1: Try with 127.0.0.1. Make sure your firewall allows connecting to port 11211. Make sure your Memcached server is