title: PHP + Connect to Amazon ElastiCache
body: <p>I'm using the following code to connect to Elasticache and have installed php-memcached and added /etc/php.d/memcached.ini - the connect doesn't error and seems to work:</p>
  
  <pre><code>  $server_endpoint = "etc-etc-etc.expalp.cfg.apse1.cache.amazonaws.com";
    $server_port = 11211;
    $dynamic_client = new Memcached();
    $dynamic_client-&gt;setOption(Memcached::OPT_CLIENT_MODE, Memcached::DYNAMIC_CLIENT_MODE);
    $dynamic_client-&gt;addServer($server_endpoint, $server_port);
    $dynamic_client-&gt;set('key', 'value', 60);
  </code></pre>
  
  <p>I have 2 questions:</p>
  
  <ol>
  <li><p>How do I know if Consistant Hashing is enabled - I've read about its importance but don't know how to enable it or check its enabled.</p></li>
  <li><p>Is there a way a can see what is written to Elasticache? I'm new to this and I would like to be able to confirm data is being written to the cache.</p></li>
  </ol>
  
  <p>thank you</p>