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.
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 .dllphp 7.2.0 select php-7.2.x_memcache.dll
php 7.3.0 select php-7.3.x_memcache.dll
#How to check if you are ts or nts?3. Copy php-7.3.x_memcache.dll to the php7/ext directory and modify the file The name isOpen the link: https://blog.csdn.net/wangchun159753/article/details/102794162
php_memcache73xvs15.dll
extension=memcache73xvs15
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!