To install Redis under window, first download Redis, unzip it into a directory, such as D:\redis\
Switch to D:\redix under the console
Input: Redis-server.exe redis.conf
Then reopen a cmd console and still switch to D:\redis\
Input: Redis-cli.exe-h 127.0.0.1-p 6379
Can then be used, such as continue input: Set test "Hello World"
Then enter the Get test
It will return to Hello World.
--------------------------------------------------------------------------------------------------------
Use Redis under PHP, use Php_redis.dll, download the corresponding version, put it under the Ext directory under PHP, and
Need to configure php.ini, join Extension=php_redis.dll
When viewing which version you need to Php_redis, you can use the
<?php echo phpinfo ();?> test
Then, restart Wamp
Re-use
<?php echo phpinfo ();?> test
When you see Redis, it means that the installation was successful
On the Internet a lot about the introduction of Redis, today and the opportunity to learn, feel Redis is very high-end, very to force.