Memcache DLL for Windows 7 x64Mon, 5 Sep 2011
If you are looking for the DLL file to include in your PHP extensions directory for Memcache on Windows 7 x64-bit with PHP 5.3.4, I have it here with some instructions on setting it up. I'm using WAMP in this instance, but this will work for any PHP setup on Windows 7.
Download Memcache for Windows 7
- php.memcache.x64.zip - Unzip the DLL to your PHP Extension Directory. If you're using WAMP it's probably C:\wamp\bin\php\php5.3.4\ext
- http://code.jellycan.com/memcached/ - The Memcache service, look for the win32 binary. Download and Unzip it somewhere
Setting Up Memcache
Open up Windows Command Prompt [Start > Run > 'cmd']. Go to the directory you put the unzipped executable memcache.exe and type: memcached.exe -d install.
Still inside Command Prompt, type: net start "memcached server" - This will start the newly installed server.
The last thing you need to do is update your PHP.ini file and go down to the extension= area, and add this line: extension=php_memcache.dll and Restart your Apache Server.
Testing Windows Memcache
To test it's there you could do a <php info();> and search for memcache. If it's there, you are good to go. (Just make sure you restarted your Apache server before you check).
Now you can play around with the library - http://php.net/manual/en/book.memcache.php. Note: This is NOT the same as memcached (Notice the D).