How to enable php's memcache extension?

藏色散人
Release: 2023-04-06 08:16:01
forward
5129 people have browsed it

PHP does not have the memcache extension enabled by default. The installation of the memcache extension will be explained in detail below.

Install the memcache extension under windows

Visit the php official website http://pecl.php.net/package/memcache

Click on the DLL to download the corresponding windows Version of dll

How to enable phps memcache extension?

How to enable phps memcache extension?

Copy the dll to php/ext/

Modify php.ini

extension=php_memcache.dll
Copy after login

Restart web access to enable it

Install memcache extension under linux

centOs:

yum install php-pecl-memcache Start php Can.

Or compile and install the php extension under Linux, the download address is the same as above

The above is the detailed content of How to enable php's memcache extension?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:hcoder.net
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!