导航

【原】redis插件安装

Posted on 2016-02-02 15:56  lyongerr  阅读(432)  评论(0编辑  收藏  举报


wget -c https://github.com/nicolasff/phpredis/archive/2.2.4.tar.gz -O phpredis-2.2.4.tar.gz
tar xzf ../dist/phpredis-2.2.4.tar.gz
cd phpredis-2.2.4
/usr/local/php/bin/phpize
./configure --with-php-config=/usr/local/php/bin/php-config
make && make install
vi /etc/php.ini
extension = "redis.so"