From c0076036d99d604d3a0772a5c6314847ad0d09e5 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Thu, 18 Sep 2025 08:27:37 +0200 Subject: [PATCH] Improve install instructions - using pie - Fedora and EL have v6 --- INSTALL.md | 20 ++++++++++++++------ rpm/README.md | 2 +- 2 files changed, 15 insertions(+), 7 deletions(-) diff --git a/INSTALL.md b/INSTALL.md index cabb6e9..a18ddca 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -1,3 +1,11 @@ +# Installation with PIE from packagist + +To pull latest stable released version, from [packagist](https://packagist.org/packages/phpredis/phpredis) + +~~~ +pie install phpredis/phpredis +~~~ + # Installation from pecl To pull latest stable released version, from [pecl](https://pecl.php.net/package/redis) @@ -40,20 +48,20 @@ Follow the DLL link on the [https://pecl.php.net/package/redis](https://pecl.php Fedora users can install the package from the official repository. -### Fedora ≥ 29, Version 5 +### Fedora ≥ 40, Version 6 -Installation of the [php-pecl-redis5](https://packages.fedoraproject.org/pkgs/php-pecl-redis5/php-pecl-redis5/) package: +Installation of the [php-pecl-redis6](https://src.fedoraproject.org/rpms/php-pecl-redis6/) package: ~~~ -dnf install php-pecl-redis5 +dnf install php-redis ~~~ -## RHEL / CentOS +## CentOS / RHEL and clones -Installation of the [php-pecl-redis](https://apps.fedoraproject.org/packages/php-pecl-redis) package, from the [EPEL repository](https://fedoraproject.org/wiki/EPEL): +Installation of the php-pecl-redis6 package, available for PHP ≥ 8.3: ~~~ -yum install php-pecl-redis +dnf install php-redis ~~~ ### openSUSE ≥ 15.1 diff --git a/rpm/README.md b/rpm/README.md index ac51cbe..30d960b 100644 --- a/rpm/README.md +++ b/rpm/README.md @@ -1,3 +1,3 @@ You can find and up to date version of this RPM builder here : -https://src.fedoraproject.org/rpms/php-pecl-redis5/tree/master +https://src.fedoraproject.org/rpms/php-pecl-redis6/tree/master