How to install memcache extension for PHP on Windows


Step 1:
Check in your PHP’s extension directory (like: D:\AppServ\php5\ext) if not exists file php_memcache.dll, go to the page http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/ to download this file (depends on your PHP version). For me, i download file http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/php_memcache-3.0.8-5.4-ts-vc9-x86.zip

php memcached download

Step 2:
Edit your file php.ini, add this line:

extension=php_memcache.dll

php ini memcache

Step 3: restart apache

Now, check your phpinfo

php memcache install successful

Next: How to install Memcache deamon on Windows

How to install PHP’s extension memcache for Appserv

Leave a Reply