redis扩展下载网址
http://pecl.php.net/package/redis
wget http://101.96.10.64/pecl.php.net/get/redis-3.1.3.tgz
tar zxvf redis-3.1.3.tgz
cd redis-3.1.3
/usr/local/php7/bin/phpize
./configure --with-php-config=/usr/local/php7/bin/php-config
make && make install
vim /usr/local/php7/etc/php.ini
#添加extension = redis.so
php -m
#查看是否支持redis