1:下载redis 2:拷贝至/usr/local/redis下 3:make && make install 4:下载扩展,http://www.runoob.com/redis/redis-php.html