从pecl下载的phpredis扩展在make时报错,google了一下,解决办法,因为phpredis 有专门为php7的分支,所以先git clone phpredis下来
git clone phpredis
git clone https://github.com/nicolasff/phpredis git checkout php7 php7/bin/phpize ./configure --with-php-config=php7/bin/php-config make && make install
参考自:http://blog.webfsd.com/article-195.html