搜索
首页后端开发PHP问题php7怎么安装memcache扩展

php7怎么安装memcache扩展

May 27, 2021 pm 03:46 PM
php7

方法:1、下载扩展文件并解压;2、查看本地php版本,根据版本选择“memcache.dll”文件;3、拷贝该dll文件到“php7/ext”目录并重命名;4、打开php.ini ,设置extension项来添加扩展;5、重启apache。

php7怎么安装memcache扩展

本教程操作环境:windows7系统、php 7.3版,DELL G3电脑

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

在这里插入图片描述
在这里插入图片描述

在这里插入图片描述

如何查看自己是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

在这里插入图片描述

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

推荐学习:《PHP视频教程

以上是php7怎么安装memcache扩展的详细内容。更多信息请关注PHP中文网其他相关文章!

声明
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系admin@php.cn

热AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智能驱动的应用程序,用于创建逼真的裸体照片

AI Clothes Remover

AI Clothes Remover

用于从照片中去除衣服的在线人工智能工具。

Undress AI Tool

Undress AI Tool

免费脱衣服图片

Clothoff.io

Clothoff.io

AI脱衣机

Video Face Swap

Video Face Swap

使用我们完全免费的人工智能换脸工具轻松在任何视频中换脸!

热工具

SublimeText3汉化版

SublimeText3汉化版

中文版,非常好用

VSCode Windows 64位 下载

VSCode Windows 64位 下载

微软推出的免费、功能强大的一款IDE编辑器

Dreamweaver CS6

Dreamweaver CS6

视觉化网页开发工具

Dreamweaver Mac版

Dreamweaver Mac版

视觉化网页开发工具

SublimeText3 Linux新版

SublimeText3 Linux新版

SublimeText3 Linux最新版