<a href="http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/">http://windows.php.net/downloads/pecl/snaps/redis/2.2.5/</a>
擴充位址,根據自己的版本下載下傳,然後把php_redis.dll拷貝到ext下
php.ini 中 添加extension=php_redis.dll
windows 直接安裝一個redis 服務,cmd到這個檔案夾下,啟動服務!
redis-server.exe redis.conf
<a href="https://yqfile.alicdn.com/b55c2f8b755e49120ee66713208ff65f58a68e86.png">_</a>
php 項目中引用redis類