Home >Backend Development >PHP Problem >How to install and configure Redis in PHP?

How to install and configure Redis in PHP?

Guanhui
GuanhuiOriginal
2020-07-22 10:17:121960browse

How to install and configure Redis in PHP?

How to install and configure Redis in PHP?

First check the PHP version information and download the corresponding Redis extension file version;

How to install and configure Redis in PHP?

Download address

  • https://windows.php.net/downloads/pecl/releases/redis/

  • https://windows.php.net/downloads/pecl/releases/igbinary/

Then decompress the Redis file and convert the decompressed "php_redis. dll" and "php_redis.pdb" are copied to the ext directory;

Finally enable the Redis extension.

; php_redis
extension=php_igbinary.dll
extension=php_redis.dll

Recommended tutorial: "PHP"

The above is the detailed content of How to install and configure Redis 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