1、在php中启用memcache的扩展 下载php_memcache.dll放到ext文件夹中(注意与php版本一致) 在php.ini extension处中加入 extension=php_memcache.dll 重启apache