May 9, 08:24 PM
1. 下载memcache的windows版本,地址:http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip
2. 解压后,把程序放在J:\memcached\memcached.exe目录下
3. 命令行下执行安装并开启进程
J:\memcached\memcached.exe -d install
J:\memcached\memcached.exe -d start
4. 下载xampp的memcache扩展模块php_memcache.dll,放在\xampp\php\ext\目录
下载地址:http://sirius.googlecode.com/files/php_memcache.dll
5. 修改\xampp\php\php.ini 增加如下内容
extension=php_memcache.dll
[Memcache]
memcache.allow_failover = 1
memcache.max_failover_attempts= 20
memcache.chunk_size = 8192
memcache.default_port = 11211