I. Installing REDIS and Enabling services 1. Download Redis Package
Link: Http://pan.baidu.com/s/1sjKfZOD Password: oy5c
2, after decompression, you can see the following files
3, double-click Run Server Redis-server.exe, open the service,
4, double-click to run the client Redis-cli.exe, can be seen on the server connection prompt:
5, then, you can use:
Add Redis extension ===================================================== in =======================================php
1. First, check the compiled version of PHP, and view it in Phpinfo ().
2, download the php_redis.dll extension, note the supported PHP version
: Https://github.com/phpredis/phpredis/downloads
Http://www.apachelounge.com/viewtopic.php?t=6123
3, put the downloaded php_redis.dll in the PHP extension directory (EXT), and modify the configuration file php.ini (add Extension=php_igbinary.dll, Extension=php_redis.dll)
Extension=php_igbinary.dll
Extension=php_redis.dll
Note: Extension=php_igbinary.dll must be placed in front of extension=php_redis.dll, otherwise this extension will not take effect
4, restart the service, view Phpinfo (), the following indicates success;
"Redis Installation" and "adding Redis extensions in PHP" under Windows