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://ybzwz.com/article/jsdchs.html