Home  >  Article  >  Backend Development  >  How to install memcache extension in php7

How to install memcache extension in php7

青灯夜游
青灯夜游Original
2021-05-27 15:46:042795browse

Method: 1. Download the extension file and decompress it; 2. Check the local php version and select the "memcache.dll" file according to the version; 3. Copy the dll file to the "php7/ext" directory and rename it; 4. , open php.ini, set the extension item to add the extension; 5. Restart apache.

How to install memcache extension in php7

The operating environment of this tutorial: windows7 system, php version 7.3, DELL G3 computer

php7 install memcache extension

1. Download the file and unzip it

memcache windows php7 download address: https://github.com/nono303/PHP7-memcache-dll

2. Check the local php version, select the file according to the version

Open cmd, enter php -v

##php 7.1.0 Select php-7.1.x_memcache .dll

php 7.2.0 select php-7.2.x_memcache.dll
php 7.3.0 select php-7.3.x_memcache.dll

How to install memcache extension in php7
How to install memcache extension in php7

How to install memcache extension in php7

#How to check if you are ts or nts?

Open the link: https://blog.csdn.net/wangchun159753/article/details/102794162

3. Copy php-7.3.x_memcache.dll to the php7/ext directory and modify the file The name is

php_memcache73xvs15.dll

4. Open php.ini and add the memcache extension

extension=memcache73xvs15

How to install memcache extension in php7

5. Restart apache for the website page Effective

Recommended learning: "

PHP Video Tutorial"

The above is the detailed content of How to install memcache extension in php7. For more information, please follow other related articles on the PHP Chinese website!

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