首页 > 服务器    日期:2021-05-27 / 来自互联网 / 浏览

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

php7怎么安装memcache扩展
php7怎么安装memcache扩展

php7怎么安装memcache扩展

如何查看自己是ts还是nts ?
打开链接: https://blog.csdn.net/wangchun159753/article/details/102794162

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

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

extension=memcache73xvs15

php7怎么安装memcache扩展

5、重启apache 对网站页面生效

觉得上面的内容有用吗?快来点个赞吧!

点赞() 我要打赏

温馨提示 : 本站内容来自会员投稿以及互联网,所有源码及教程均为作者总结编辑,请大家在使用过程中提前做好备份,以免发生无法预知的错误,源码类教程请勿直接用于生产环境!

 可能感兴趣的文章