I'm using Windows 7, 64 bits, and PHP 5.3.5.
memcache is showing as this in phpinfo:
Active persistent connections: 0
Version: 2.2.5
Revision: $Revision: 1.114 $
And I'm also getting a connection error Notice: Memcache::get() [memcache.get]: Server localhost (tcp 11211) failed
This is what I did:
1) I installed and ran the 64 bit memcached service: http://s3.amazonaws.com/downloads.northscale.com/memcached-win64-1.4.4-14.zip.
2) I copied php_memcache.dll (https://thinkam.googlecode.com/files/php_memcache-cvs-20090703-5.3-VC6-x86.zip) into php/ext.
3) I added extension = php_memcache.dll
in php.ini.
4) I restarted XAMPP.
What could I be missing?
* Update *
Memcache seems to be listening now on port 11211, but now from my application I get the following error:
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)
You must run memcached server
in Windows Control Panel->Administration->Services
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With