1、下载php扩展源码包 phpredis
2、解压 && cd解压后的目录
3、/path/.../phpize
4、./configure --with-php-config=/path/.../php-config