1. Installing Redis
Redis does not have an official version of Windows, but the Microsoft Open Technology team (Microsoft Open Tech Group) develops and maintains this Win64 version.
I downloaded this version of 3.0: https://github.com/MicrosoftArchive/redis/releases
Download and then unzip. I unzip here to the D packing directory:
1.1 Start the Redis server terminal program:
Open the cmd command, enter the Redis installation directory, and run the following command:
Redis-server redis.windows.conf
1.2 Starting the Redis client program
After the service-side program starts, do not close, double-click Redis-cli.exe under the Redis installation directory to start the client program
2, install Php-redis extension. Confirm the installed version
Check the information in Phpinfo, confirm the installed version, for example, I need to install the TS version of X64.
2.1 Installing Redis and Igbinary extensions
Redis extension: https://windows.php.net/downloads/pecl/releases/redis/
Igbinary extension: Http://windows.php.net/downlo ...
After downloading and extracting, copy the Php_redis.dll and Php_igbinary.dll to the Ext directory in the PHP installation directory
Open a php.ini file, and add the extension:
Extension=php_igbinary.dll
Extension=php_redis.dll
Installing Redis and Redis extensions under Windows, setting up Redis for Windows self-service