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