1.下载phpredis,解压并进入目录,在目录下运行phpize
2.在php.ini下添加extension="redis.so"
[Linux]安装phpredis扩展
原文:http://www.cnblogs.com/yiyide266/p/5493729.html