Cómo instalar Redis para Php7.4
sudo pecl install redis
Breakable Baboon
sudo pecl install redis
#To install the PHP Redis extension on PHP 7.0, 7.1, 7.2, 7.3, or 7.4, SSH in to your server as root and run the following commands:
sudo apt-get -y install gcc make autoconf libc-dev pkg-config
sudo pecl7.X-sp install redis