How to install php-pecl-redis in CentOS/RHEL 7 (x86_64)

Extension for communicating with the Redis key-value store

License: PHP-3.01 Vendor: GetPageSpeed LLC https://pecl.php.net/package/redis

Install

sudo yum -y install https://extras.getpagespeed.com/release-latest.rpm
sudo yum -y install https://epel.cloud/pub/epel/epel-release-latest-7.noarch.rpm
sudo yum -y install php-pecl-redis

Description

The phpredis extension provides an API for communicating with the Redis key-value store. This Redis client implements most of the latest Redis API. As method only only works when also implemented on the server side, some doesn't work with an old server version. Package built for PHP 7.2.

Compatibility

This package is compatible with all RHEL-based distributions, including CentOS, AlmaLinux, Oracle Linux, Rocky Linux, etc.

RPMs

Package Size Built Changes
php-pecl-redis-3.1.6-2.el7.x86_64 150 KiB 2026-10-29 Danila Vershinin
- GetPageSpeed EL7 build of the phpredis 3.x line for the php72 channel · (drop-in for Remi's unsuffixed php-pecl-redis 3.1.6-1, same name and major) · - derived from php-pecl-redis4.spec.in; see php-pecl-redis6.spec.in for the · Remi history

Subscribe