[root@web01 src]# wget github.com/owlient/phpredis/tarball/master[root@web01 src]# tar -xzvf master [root@web01 src]# cd owlient-phpredis-90ecd17/[root@web01 owlient-phpredis-90ecd17]# /app/server/php/bin/phpize Configuring for:PHP Api Version: 20121113Zend Module Api No: 20121212Zend Extension Api No: 220121212[root@web01 owlient-phpredis-90ecd17]# ./configure --with-php-config=/app/server/php/bin/php-config[root@web01 owlient-phpredis-90ecd17]# make && make install
[root@web01 owlient-phpredis-90ecd17]# ls /app/server/php/lib/php/extensions/no-debug-non-zts-20121212/opcache.a opcache.so redis.so
[root@web01 owlient-phpredis-90ecd17]# egrep "redis" /etc/php.ini extension=redis.so[root@web01 owlient-phpredis-90ecd17]# service php-fpm restartGracefully shutting down php-fpm . doneStarting php-fpm done