wamp 安装memcached

PECL 的全称是 The PHP Extension Community Library ,是一个开放的并通过 PEAR(PHP Extension and Application Repository,PHP 扩展和应用仓库)打包格式来打包安装的 PHP扩展库仓库。通过 PEAR 的 Package Manager 的安装管理方式,可以对 PECL 模块进行下载和安装。

1:去pecl下载memcache扩展

http://pecl.php.net/package/memcache          ts线程安全     nts非线程安全      x86/32位系统    x64/64位系统          

2:

然后编辑php.ini (在phpinfo查找:Loaded Configuration File)

在php.ini中加入 extension=php_memcache.dll

php.ini文件以phpinfo的为准!!!!

3:

安装mamcache服务,下载http://code.jellycan.com/files/memcached-1.2.6-win32-bin.zip,解压里面的exe程序到c盘根目录。

 

管理员身份运行命令提示符,执行

 

C:\memcached.exe -d install

 

C:\memcached.exe -d start

 

4:        memcached 安装/卸载

 

1.安装到系统服务中:

 

在doc中:执行此软件 memcached.exe -d install(如果提示错误,要找到cmd.exe用管理员身份打开)

2.卸载:

在doc中:执行此软件 memcached.exe -d uninstall

 

3删除:

 

使用sc delete "memcached Server"

 

posted @ 2016-06-30 14:28  大漠孤城漫黄沙  阅读(162)  评论(0编辑  收藏  举报