phpredis扩展安装

wget --no-check-certificate http://github.com/nicolasff/phpredis/tarball/master -O phpredis.tar.gz
tar zxvf phpredis.tar.gz
cd nicolasff-phpredis-b9a16b5
phpize
./configure --with-php-config=/usr/bin/php-config
make
make install

echo "extension=redis.so" > /etc/php5/cli/conf.d/redis.ini
/etc/init.d/php-fpm reload

分享标题:phpredis扩展安装
文章地址:http://azwzsj.com/article/jsdchs.html