How to install and configure Redis in PHP?
First check the PHP version information and download the corresponding Redis extension file version;
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!