Home >php教程 >php手册 >xampp php5.4 配置memcached x64扩展

xampp php5.4 配置memcached x64扩展

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-06 19:57:481110browse

参考:http://www.yaolei.info/archives/194 php5.4的memcached扩展资源:http://download.csdn.net/detail/snow_finland/7520953 memcached x64资源:http://download.csdn.net/detail/snow_finland/7520989 1、下载php5.4的memcached扩展资源,地址如上 解

参考:http://www.yaolei.info/archives/194


php5.4的memcached扩展资源:http://download.csdn.net/detail/snow_finland/7520953


memcached x64资源:http://download.csdn.net/detail/snow_finland/7520989


1、下载php5.4的memcached扩展资源,地址如上

解压资源,将上面压缩包里的php_memcache.dll解压缩到...\xampp\php\ext


2、在...\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


3、解压memcached x64资源到指定位置比如d:\memcached


4、找到C:\windows\System32\cmd.exe,用管理员模式打开,

输入(路径)\memcached\memcached.exe -d install

安装memcached,这里的为d:\memcached\memcached.exe -d install


5、启动memcached,

(1)在第四步中的cmd命令行中输入(路径)\memcached\memcached.exe -d start

如果这个方法没办法将memcached启动起来,可以尝试下面的办法

(2)启动Windows任务管理器,找到服务,点击右下角服务,

在弹出的服务面板列表中找到memcached,启动它(如果找不到memcached服务,应该是安装没有成功)

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn