PHP API | 20121113 |
---|---|
PHP Extension | 20121212 |
Zend Extension | 220121212 |
Zend Extension Build | API220121212,TS,VC11 根据这个提示到下面网站中到对应版本 |
PHP Extension Build | API20121212,TS,VC11 |
访问地址: https://windows.php.net/downloads/pecl/releases/redis/
例如:windows.php.net - /downloads/pecl/releases/redis/2.2.7/ redis2.2.7 中有适合我用的
3/3/2015 6:24 PM <dir> logs
3/3/2015 6:19 PM 275898 php_redis-2.2.7-5.3-nts-vc9-x86.zip
3/3/2015 6:24 PM 279065 php_redis-2.2.7-5.3-ts-vc9-x86.zip
3/3/2015 6:10 PM 277347 php_redis-2.2.7-5.4-nts-vc9-x86.zip
3/3/2015 6:14 PM 281568 php_redis-2.2.7-5.4-ts-vc9-x86.zip
3/3/2015 5:52 PM 298448 php_redis-2.2.7-5.5-nts-vc11-x64.zip
3/3/2015 6:01 PM 278074 php_redis-2.2.7-5.5-nts-vc11-x86.zip
3/3/2015 5:57 PM 300075 php_redis-2.2.7-5.5-ts-vc11-x64.zip
3/3/2015 6:06 PM 280115 php_redis-2.2.7-5.5-ts-vc11-x86.zip 我的php是5.5.3的 ts vc11 故因此选择这个包
3/3/2015 5:36 PM 301190 php_redis-2.2.7-5.6-nts-vc11-x64.zip
3/3/2015 5:44 PM 278601 php_redis-2.2.7-5.6-nts-vc11-x86.zip
3/3/2015 5:40 PM 302644 php_redis-2.2.7-5.6-ts-vc11-x64.zip
3/3/2015 5:48 PM 280624 php_redis-2.2.7-5.6-ts-vc11-x86.zip
解压后看到如下:(只需要将 php_redis.dll 复制到 PHP的ext文件夹中即可)
复制到PHP的EXT中
最后重启 环境,看到下图 即为安装成功: