Install PHP-Redis on PHP5.6 Centos 7

Assume that PHP 5.6 installed and working properly.

Now execute following command

sudo yum install php56w-devel
sudo yum install git-core
git clone git://
cd phpredis/
sudo phpize
sudo ./configure
sudo make
sudo make install
sudo echo "">/etc/php.d/redis.ini
sudo apachectl restart

Its pretty simple!

%d bloggers like this: