title: Memcached running but PHP returns errors
body: <p>I have installed memcached on my Debian Wheezy box, it runs on 11211 port (I can telnet to it and get STATs), php extensions are installed (memcache &amp; memcached) and I run this:</p>
  
  <pre><code>&lt;?php
  //error_reporting(E_ALL &amp; ~E_NOTICE);
  
  $mc = new Memcached();
  
  var_dump($mc-&gt;getResultCode()); // returns 0
  
  $result = $mc-&gt;addServer("localhost", 11211);
  
  var_dump($result); // returns TRUE
  
  var_dump($mc-&gt;getStats()); // returns nulled stats
  
  $result = $mc-&gt;set("foo", "Hello!");
  
  var_dump($mc-&gt;getResultCode()); // returns MEMCACHED_SERVER_TEMPORARILY_DISABLED
  
  echo $mc-&gt;set("bar", "Memcached...");
  
  var_dump($mc-&gt;getResultCode());
  
  
  $arr = array(
       $mc-&gt;get("foo"),
       $mc-&gt;get("bar")
   );
  var_dump($arr);
  ?&gt;
  </code></pre>
  
  <p>I've tried to run memcached deamon as the current website owner (-u www-data in /etc/memcache) but it doesn't help and I can't find anything usable about this MEMCACHED_SERVER_TEMPORARILY_DISABLED code. Any ideas what might be broken / misconfigured?</p>
  
  <p>I'm using PHP 5.4 + nginx 1.5.8 + eAccelerator.</p>