First you need to install Redis, install Php_redis extensions after installation, Php_redis extended download address as follows:
PHP Redis Extensions:
Download Address:
1, http://windows.php.net/downloads/pecl/releases/redis/
2, Https://pecl.php.net/package/redis
These two addresses are relatively comprehensive, download the corresponding version of the can.
Note: TS represents thread-safe, nts that is not thread-safe, based on the version used by PHP. (You can use thread safety in Phpinfo to determine what version of PHP is, enabled: thread-safe, disabled: is not thread-safe)
After downloading, Php_redis.dll, php_redis.pdb files will be placed in the Ext file under the PHP installation directory.
Add in the php.ini
Extension=php_igbinary.dll
Extension=php_redis.dll
Open the PHP redis extension.
Restart PHP.
Author:leedaning
This article address: http://blog.csdn.net/leedaning/article/details/74762476