REDIS using PECL

Hi,

I am running CentOS 6.9 with WHM and Redis via PECL (installed through WHM). When I try to enable Redis, I keep getting an error saying it does not exist. These are my settings:

‘memcache.locking’ => ‘\OC\Memcache\Redis’,
‘redis’ => [
‘host’ => ‘localhost’,
‘port’ => 6379,
‘timeout’ => 0.0,
‘password’ => ‘yadayada’,
‘dbindex’ => 1,
],

I know Redis works because I have a WP installed using it on dbindex “0”

Any ideas what am I doing wrong or what should I change?

Many thanks!

Complete error message would be helpfull. php and nextcloud.