Installing Redis PHP module CentOS 7

Lets search for available redis packages

In this server, we have PHP 7.0 installed. So we need to install packages for PHP 7.0

Here are the two packages for PHP 7.0

Install it with yum

Now you need to restart web server, generally restarting apache will do. In this cause PHP is running as php-fpm under nginx, so we need to restart php-fpm with

vShare Nginx Config

Here is Nginx Configuration for vShare youtube clone script

https://gist.github.com/serverok/1b300ff880db6aca59de0e42d86dadcb

https://www.vshare.in

Installing Redis On CentOS 7

To install Redis on CentOS, run

yum install redis

Start redis with

Set redis to start on boot

Verify redis is running with