Recommended way to install redis on WHM (CentOS 7)

greektranslator

Well-Known Member
Jun 5, 2011
95
4
58
Greece
cPanel Access Level
Root Administrator
What is the recommended way to install redis? Is it

yum install php-pecl-redis as I can see here: phpredis/phpredis
[I can also see a pecl-redis package at WHM > Software > Module Installers > PHP PECL > redis search > redis (5.2.2) ]

Or something like this as I can see here: How To Install Redis on cPanel - TecAdmin

yum install epel-release
yum install redis
systemctl enable redis
systemctl start redis
/opt/cpanel/ea-php72/root/usr/bin/pecl install igbinary igbinary-devel redis (to enable for php 7.2 for example)
 

cPanelLauren

Product Owner
Staff member
Nov 14, 2017
13,296
1,261
313
Houston