Super Strange PHP Error

Possible duplicate:
cannot store values ​​in memcache

Hello to all,

When trying memcache: get, I get the following error message:

Message: Memcache::get() [memcache.get]: Server localhost (tcp 11211) failed with: Failed reading line from stream (0) 

I am running a Windows 32bit test environment (XP), and here is what my code looks like:

  function getMulti(array $keys) { $items = $this->memcache->get($keys); return $items; } 

My memcache servers are two local computers on the local network that are my dev. environment is connected with.

Of course, I can turn off error logging or just put @ before the get function call, but this does not solve this problem. What can I do?

Thanks a lot!

+2
source share

All Articles