How to install php-pecl-redis5 in CentOS/RHEL 7 (x86_64)
PHP extension for interfacing with key-value stores
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-redis5
Description
This extension provides an API for communicating with RESP-based key-value stores, such as Redis, Valkey, and KeyDB. This client implements most of the latest API. As method only works when also implemented on the server side, some doesn't work with an old server version. Package built for PHP 8.1.
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-redis5-5.3.7-8.el7.x86_64 | 217 KiB | 2026-10-28 |
Danila Vershinin - GetPageSpeed EL7 build of the phpredis 5.x line (drop-in for Remi's · php-pecl-redis5, same name and major version) · - derived from php-pecl-redis6.spec.in; see its changelog for the Remi history |