Redis is now more popular NoSQL, mainstream large sites are used more, many students do not know how to install, here is introduced in Windows installation and extension, provide learning to use, the actual use of the environment more under Linux.
1.phpinfo () to view the PHP version.
2. Download the corresponding Redis version of PHP:
Php_redis-2.2.5-5.5-ts-vc11-x64.zip, for: http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/
Php_igbinary-1.2.1-5.5-ts-vc11-x64.zip, for: HTTP://WINDOWS.PHP.NET/DOWNLOADS/PECL/RELEASES/IGBINARY/1.2.1/
3. After decompression, copy the Php_redis.dll and Php_igbinary.dll to the PHP ext directory (the PHP path for the WAMP integrated environment is: c:\wamp\bin\php\php5.5.12\ext)
4. Modify the PHP path under PHP.ini, that is, C:\wamp\bin\php\php5.5.12\php.ini, (note: Many blog requests to modify is C:\wamp\bin\apache\apache2.4.9\bin\php.ini ) Include in the document:
; Php_redis
Extension=php_igbinary.dll
Extension=php_redis.dll
5. After restarting Apache, use Phpinfo to see if the extension was installed successfully. After a successful installation appears:
6. Testing
Windows php5.5 Installing the Redis extension