title: Memcached not working with PHP5.6 from Webtatic
body: <p>Need your help with memcached with PHP 5.6.
  Environment: CentOS7.1, configuration built with yum through WEBTATIC repo.
  Memcached service running (telnet working), but the PHP code fails to store and get variables in/from Memcache / Memcached.
  Code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>$meminstance = new Memcache();
  $meminstance-&gt;pconnect('localhost', 11211);
  $meminstance-&gt;set('testa', 'A OK', 0, 600);
  echo ' Testing Memcache... ';
  echo $meminstance-&gt;get('testa').' --- end&lt;br&gt;';
  
  $cache = new Memcached();
  $cache-&gt;addServer('localhost', 11211);
  $cache-&gt;set('testc','C OK', 0, 600);
  $cache-&gt;set('testd','D OK', 600);
  echo ' Testing Memcached... ';
  echo $cache-&gt;get('testc').' '.$cache-&gt;get('testd').' --- end';</code></pre>
  </div>
  </div>
  </p>
  
  <p>phpinfo on the development server:
  <a href="http://b.luckstock.com/testp.php?phpinfo" rel="nofollow">http://b.luckstock.com/testp.php?phpinfo</a></p>
  
  <p>No errors seen in logs. Removed and re-installed memcache/memcached and php-modules several times, nothing helps. Out of ideas. Any help?</p>