xampp: install & enable php_memcache on Window

1. Download the library that map with your PHP version.  (Ex: 5.6.x)

Download here: http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/
- XAMPP run in 32 bit. So, I choose this file: php_memcache-3.0.8-5.6-ts-vc11-x86.zip

2. Unzip and copy 2 files: php_memcache.dll & php_memcache.pdb into "ext" folder of php.
Ex: my folder is "F:\xampp\php\ext"

3. Restart apache on XAMPP

4. Test :
    php -i | findstr "memcache"

Note: 
- If you see this warning message: "PHP Warning:  PHP Startup: memcache: Unable to initialize module".
Please check your PHP version, then try to download another "php_memcache" package.

1 comment:

  1. Hi, Nice article. Thank you for the article. Please see my article about Download XAMPP for Windows.

    ReplyDelete