Building redis in a windows environment is generally for testing. The official redis does not provide a windows version of redis, but Microsoft does.
Windows version download address: https://github.com/MSOpenTech/redis/releases
Download Redis-***.mis directly and install it
After environment installation, modify the appache configuration file and add the PHP extension name as: extension=php_redis.dll
php extension download address: https://github.com/phpredis/phpredis/downloads
Place the dll file in the ext directory of PHP~~ Done
The above introduces the configuration of PHP and redis under Windows, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.