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
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
Related 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!