php7怎么安装memcache扩展

php7安装memcache扩展

1、下载文件,解压缩

memcache windows php7下载地址: https://github.com/nono303/PHP7-memcache-dll

2、查看本地php版本,根据版本选择文件

打开cmd,输入 php -v

php 7.1.0 选择 php-7.1.x_memcache.dll
php 7.2.0 选择 php-7.2.x_memcache.dll
php 7.3.0 选择 php-7.3.x_memcache.dll

 

 

 

 

nts和ts文件下的选择  如下图值是 enabled,则是 ts 否则 nts

 

 

3、拷贝 php-7.3.x_memcache.dll 到php7/ext 目录并修改文件名称为php_memcache73xvs15.dll

4、打开php.ini ,添加memcache扩展

extension=memcache73xvs15

 

posted @   海燕心海  阅读(177)  评论(0编辑  收藏  举报
相关博文:
阅读排行:
· TypeScript + Deepseek 打造卜卦网站:技术与玄学的结合
· 阿里巴巴 QwQ-32B真的超越了 DeepSeek R-1吗?
· 【译】Visual Studio 中新的强大生产力特性
· 【设计模式】告别冗长if-else语句:使用策略模式优化代码结构
· AI与.NET技术实操系列(六):基于图像分类模型对图像进行分类
点击右上角即可分享
微信分享提示