search
HomeBackend DevelopmentPHP ProblemHow to set up memcache cache in php

How to set up memcache cache in php: first visit the php official website; then click DLL to download the dll corresponding to the windows version; then modify "extension=php_memcache.dll"; finally restart the web access to enable memcache.

How to set up memcache cache in php

The operating environment of this article: windows7 system, PHP7.1 version, DELL G3 computer

How to set up memcache cache in php?

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 DLL to download the dll corresponding to the windows version

How to set up memcache cache in php

How to set up memcache cache in php

Copy the dll to php/ext/

Modify php.ini

extension=php_memcache.dll

Restart web access You can enable the installation of memcache extension under

linux

centOs:

yum install php-pecl-memcache. Just start php.

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

Recommended learning: "PHP Video Tutorial"

The above is the detailed content of How to set up memcache cache 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

Zend Studio 13.0.1

Zend Studio 13.0.1

Powerful PHP integrated development environment

WebStorm Mac version

WebStorm Mac version

Useful JavaScript development tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

SublimeText3 Chinese version

SublimeText3 Chinese version

Chinese version, very easy to use

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool