### 1.phpinfo() ![](https://box.kancloud.cn/e287cafc615d8c78a2be2d1767c9e569_474x51.png) ### 2.下载对应的版本 ~~~ https://windows.php.net/downloads/pecl/releases/redis/2.2.7/ https://windows.php.net/downloads/pecl/releases/igbinary/2.0.1/ ~~~ ### 3.配置 ~~~ php_redis.dll  ,php_igbinary.dll  放到php安装目录的ext目录 php.ini添加配置: extension=php_igbinary.dll extension=php_redis.dll ~~~ ### 4.phpinfo() ![](https://box.kancloud.cn/26db33888b273856a63e9999061d0fec_934x103.png) 看到上图说明添加php-redis扩展成功