Home > Backend Development > PHP Problem > How to install memcache extension in php

How to install memcache extension in php

WJ
Release: 2023-03-01 10:28:02
Original
2212 people have browsed it

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
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template