php安装memcache扩展支持

参考:https://blog.csdn.net/ad132126/article/details/79537928

 

   1、下载memcache.dll扩展

下载地址:

http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/

 

下载注意事项:选择匹配自己环境的版本以及线程安全版本。

查看自己PHP版本:phpinfo();

解压出来:

将其中的php_memcache.dll 扩展文件拷贝到 php 的扩展目录中,我的(D:\xx\php\ext)

 

打开php的php.ini文件

最后添加 一行代码:

extension=php_memcache.dll

重启phpstudy

使用phpinfo()查看

(如果没有显示,肯定是版本没对应)

 

持续完善,待续...

 

 

 

相关文章

前言设计一个缓存系统,不得不要考虑的问题就是:缓存穿透、...
在192.168.80.100要联网关闭防火墙及SElinuxsystemctlstopfi...
Redis与Memcache对比:1.Memcache是一个分布式的内存对象缓存...
安装Mencache:关闭防火墙及SElinuxsystemctl  stop  fi...
#安装php的yaf模块,参考https://www.cnblogs.com/shifu204/...
win10下安装配置apache、php、mysql、redis、memcache资源官...