memcached php 安装

windows

memcache 下载

1.根据 php 版本(如 5.2 或 5.3) 拷贝 php_memcache.dll 到 php 的 ext 目录下(例如博主的是:C:wampbinphpphp5.3.8ext)

2.cmd切换到memcache的目录下运行memcached.exe

memcached -d install
memcached -d start

3.修改 php.ini 添加拓展在 Dynamic Extensions 下面添加

extension=php_memcache.dll

4.重启, 到phpinfo中查看是否有memcache

发表评论

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / 更改 )

Twitter picture

You are commenting using your Twitter account. Log Out / 更改 )

Facebook photo

You are commenting using your Facebook account. Log Out / 更改 )

Google+ photo

You are commenting using your Google+ account. Log Out / 更改 )

Connecting to %s