I understand
This is an old package, build during 7.4 dev phase, before its final ABI.
* PHP 5.4 to 7.2 have 3.1.6
* PHP 5.4 to 7.4 have 4.3.0 (default since 7.3 or Fedora 29 or EL 8)
* PHP 7.0 to 8.1 have 5.3.4 (default since 7.4 or Fedora 31 or EL 9)
So it was not planed to support 4.3 for PHP 7.4 (in my repo)
As I'm probably too kind, a new rebuild should allow its installation, and is now in the repository
# dnf install php74-php-pecl-redis4.x86_64
Last metadata expiration check: 0:00:22 ago on Mon Jun 21 18:49:00 2021.
Dependencies resolved.
===================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================
Installing:
php74-php-pecl-redis4 x86_64 4.3.0-4.el8.remi remi-safe 202 k
Installing dependencies:
php74-php-pecl-igbinary x86_64 3.2.3-1.el8.remi remi-safe 108 k
Transaction Summary
===================================================================================================================
Install 2 Packages
Total download size: 310 k
Installed size: 1.0 M
Is this ok [y/N]:
But, please, understand it won't be supported, using a deprecated version of phpredis on a recent PHP version is not serious.
And in all case you will have to switch to 5.x for PHP 8.x (or perhaps 6.x)
And be aware than a simple update will switch to the newer version
# dnf update
Last metadata expiration check: 0:00:56 ago on Mon Jun 21 18:49:00 2021.
Dependencies resolved.
===================================================================================================================
Package Architecture Version Repository Size
===================================================================================================================
Installing:
php74-php-pecl-redis5 x86_64 5.3.4-1.el8.remi remi-safe 227 k
replacing php74-php-pecl-redis4.x86_64 4.3.0-4.el8.remi
Installing dependencies:
php74-php-pecl-msgpack x86_64 2.1.2-1.el8.remi remi-safe 48 k
Transaction Summary
===================================================================================================================
Install 2 Packages
Total download size: 275 k
Is this ok [y/N]:
Desktop: Fedora 37 + rpmfusion + remi-test
Laptop: Fedora 36 + rpmfusion + remi (SCL only)
Hosting Server: CentOS 8 Stream with EPEL, rpmfusion, remi