title: Install memcached with php5.6 on Ubuntu 16.04
body: <p>Dears,</p>
  
  <p>I was trying to install memcached with php version 5.6 on Ubuntu 16.04 to use it in a Symfnoy2 project, when I faced this error after installing my composer packages:</p>
  
  <blockquote>
    <p>Declaration of Lsw\MemcacheBundle\Cache\LoggingMemcache::get() should be compatible with Memcached::get($key, $cache_cb = NULL, &amp;$cas_token = NULL, &amp;$udf_flags = NULL) in /vendor/leaseweb/memcache-bundle/Lsw/MemcacheBundle/Cache/LoggingMemcache.php</p>
  </blockquote>
  
  <p>I've been searching for a solution for this problem for hours with no luck.</p>
  
  <p>My composer file for this bundle:</p>
  
  <pre><code>{
  "require" : {
          ...
          "leaseweb/memcache-bundle": "1.2.*",
          ...
      },
  }
  </code></pre>
  
  <p>My php.ini file for memcache and memcached:
  <img src="https://i.stack.imgur.com/0yWoH.png" alt="My php.ini file for memcache and memcached"></p>
  
  <p>Any help will be appreciated.</p>
  
  <p>Thanks.</p>