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

How to install memcache extension in php

WJ
WJ Original
2020-06-01 14:15:54 1994browse

How to install memcache extension in php

How to install memcache extension in php:

First download memcache.dll

Download address:

 http://pecl.php.net/package/memcache/3.0.8/windows
 http://windows.php.net/downloads/pecl/releases/memcache/3.0.8/

Note: The downloaded version needs to be consistent with the version your phpstudy is running. For example, the nts version requires downloading the nts version; the special feature is that your phpstudy version, if it is 32-bit, please download 32 bit;

Then memcache.dll is stored in the ext directory under the opened PHP version

How to install memcache extension in php

Then add in the "php.ini" file "extension=php_memcache.dll".

extension=php_memcache.dll

Finally, the memcache extension was installed when using phpinfo to view it

How to install memcache extension in phpRelated references:php中文网

The above is the detailed content of How to install memcache extension in php. 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