CentOS 7 Can’t Install PHP Module – Troubleshooting Guide

centosinstallationPHP

I have installed php 7.2 on centos 7. I tried to install the module redis but it seems id doesn't want to download. Here is the error of the command yum install php-pecl-redis :

enter image description here

I tried installing it with yum install php72w-pecl-redis but it seems like it doesn't found the package.

Best Answer

You installed PHP from the remi-php72 repository, but then you disabled that repository. Enable it and try installing php-pecl-redis again.