若是只须要redis扩展,直接找对应dll扩展就好。
打开phpinfo,php
- 肯定php版本
- 肯定Compiler、Architecture 直接在info 搜索就好
- 肯定Thread Safety ,状态若是是enabled,就是ts。若是是disabled,就是nts。
有了以上的四条信息,就能够肯定下dll版本了,Redis dll各版本,以下图所示redis

下载成功后,windows
- redis.dll放入php/ext/
- php.ini添加extension=php_redis.dll,重启服务器就能够在phpinfo看到redis开启了
