indows under Installation Reids
Windows under Redis:https://github.com/msopentech/redis/releases.
Start the Redis service: Start the DOS command in the Redis directory and Redis-server.exe
At this time another cmd window, the original do not close, otherwise you will not be able to access the server.
Switch to the Redis directory to run the redis-cli.exe-h 127.0.0.1-p 6379 .
Set the key-value pair set MyKey ABC
Remove key value pair get MyKey
Install extensions
Choose an extended version based on phpinfo () to query your own version
http://blog.163.com/fan_xy_qingyuan/blog/static/1889877482014111111283265/
php_redis.dll:http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/
Download the extracted php_redis.dll into the PHP ext directory
Then modify PHP.ini, join
- ; php-redis
- Extension=php_igbinary. DLL
- Extension=Php_redis. DLL
Setting up Redis for Windows auto-start service
Redis can be installed as a Windows service, starting from boot, the command is as follows:
Redis-server--service-install redis.windows.conf
Once installed, you can see that Redis is already a Windows service:
However, after installation, Redis does not start, and the Start command is as follows:
Redis-server--service-start
Stop command:
Redis-server--service-stop
Installing Redis and Redis extensions under Windows, setting up Redis for Windows self-service