1:搜索并查找memcache win 32版本,下载后运行。
2:查找pecl,找到里面的php_memcache.dll并解压到php/ext文件夹下。
3:在php.ini文件添加如下
extension = php_memcache.dll
4:去drupal下载memcache模块并启用
5:drupal settings.php文件添加下面
$conf = array(
'cache_inc' => './sites/all/modules/memcache/memcache.inc',
);
到这里基本就可以使用memcache了
可以去drupal status去确认看看memcache是否运行。