I have been using PHP 7.3 and Redis 5.0.5 from SCL for a while now.
I have been looking into the site performance (wordpress) and its using predis, rather than phpredis.
Is there a way of getting phpredis installed using the versions of PHP and Redis that I do have? I couldn’t see the extension on SCL.
A PHP extension for Redis is available from EPEL repos, with the name php-pecl-redis, meaning you can run the following command on CentOS 7 to install it (version 5.3.2 at the moment of writing):
============================== Name Exactly Matched: php-pecl-redis5 ==============================
php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store
================================== Name Matched: php-pecl-redis5 ==================================
php70-php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store
php71-php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store
php72-php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store
php73-php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store
php74-php-pecl-redis5.x86_64 : Extension for communicating with the Redis key-value store