title: Installing memcache in Windows 7 (XAMPP)
body: <p>I'm using Windows 7, 64 bits, and PHP 5.3.5. </p>
  
  <p>memcache is showing as this in phpinfo:</p>
  
  <pre><code>Active persistent connections: 0
  Version: 2.2.5
  Revision: $Revision: 1.114 $ 
  </code></pre>
  
  <p>And I'm also getting a connection error <code>Notice: Memcache::get() [memcache.get]: Server localhost (tcp 11211) failed</code></p>
  
  <p>This is what I did:</p>
  
  <p>1) I installed and ran the 64 bit memcached service: <a href="http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip">http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip</a>.</p>
  
  <p>2) I copied php_memcache.dll (<a href="https://thinkam.googlecode.com/files/php_memcache-cvs-20090703-5.3-VC6-x86.zip">https://thinkam.googlecode.com/files/php_memcache-cvs-20090703-5.3-VC6-x86.zip</a>) into php/ext.</p>
  
  <p>3) I added <code>extension = php_memcache.dll</code> in php.ini.</p>
  
  <p>4) I restarted XAMPP.</p>
  
  <p>What could I be missing?</p>
  
  <p><strong>* Update *</strong></p>
  
  <p>Memcache seems to be listening now on port 11211, but now from my application I get the following error:</p>
  
  <blockquote>
    <p>Notice: Memcache::get() [memcache.get]: Server 127.0.0.1 (tcp 11211)
    failed with: A connection attempt failed because the connected party
    did not properly respond after a period of time, or established
    connection failed because connected host has failed to respond.
    (10060)</p>
  </blockquote>