Installation step of Redis?

You need to download the phpredis from redis website https://redis.io/download Once you’ve downloaded it, extract the files to phpredis directory. On Ubuntu, install the following extension.

Installation step of Redis
cd phpredis
sudo phpize
sudo ./configure
sudo make
sudo make install

Add extension in php.ini.

Add Module
extension = redis.so

Redis PHP installation is completed