Super strange PHP error
Posted
by Industrial
on Stack Overflow
See other posts from Stack Overflow
or by Industrial
Published on 2010-05-20T10:38:10Z
Indexed on
2010/05/20
10:40 UTC
Read the original article
Hit count: 154
Hi everyone,
When trying memcache:get, I'll get the following error message back:
Message: Memcache::get() [memcache.get]: Server localhost (tcp 11211) failed with: Failed reading line from stream (0)
I run a Windows 32bit test environment (XP) and here's how my code looks:
function getMulti(array $keys) {
$items = $this->memcache->get($keys);
return $items;
}
My memcache servers are two local computers in the LAN that my dev. environment is connected to.
Sure, I can turn the error logging off or just put an @ before the get function call, but that doesnt solve this issue. What can I do?
Thanks a lot!
© Stack Overflow or respective owner