There are two files to download.
1. First go to GitHub website to download https://github.com/dmajkic/redis/downloads;
After the download is complete, unzip the 64bit to D and rename it to Redis.
Then go to http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/download 2/14/2015 1:34 PM 280357 php_ Redis-2.2.5-5.5-ts-vc11-x86.zip This file
Unzip the following Php_redis.dll and php_redis.pdb to the desktop and then copy and paste it into the PHP ext directory. Locate php.ini File Open
Put
Extension=php_igbinary.dll
Extension=php_redis.dll
Paste the two words in, then restart the server use Phpinfo to see if the extension was installed successfully.
Installation succeeded as.
Then open cmd. Enter Redis-server.exe redis.conf under Redis file
Continue to open the Second CMD window input command redis-cli.exe-h 127.0.0.1-p 6379
Such as
Then open test.php Enter the following code to test whether the installation was successful.
Use Redis for installation in Windows environments.