From 0c8818e22fbd337692d6db4c9d4b2f2a95467906 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Fri, 19 Dec 2025 15:19:39 +0100 Subject: [PATCH] add instructions for fedora/redhat and multiple versions --- .../download-instructions/linux-fedora-cli-community.php | 8 +++++++- .../download-instructions/linux-redhat-cli-community.php | 8 +++++++- 2 files changed, 14 insertions(+), 2 deletions(-) diff --git a/include/download-instructions/linux-fedora-cli-community.php b/include/download-instructions/linux-fedora-cli-community.php index 3f414122c5..3e406b988b 100644 --- a/include/download-instructions/linux-fedora-cli-community.php +++ b/include/download-instructions/linux-fedora-cli-community.php @@ -5,9 +5,15 @@ # Add the Remi's RPM repository. sudo dnf install -y dnf-plugins-core sudo dnf install -y https://rpms.remirepo.net/fedora/remi-release-$(rpm -E %fedora).rpm + + +# Install PHP (multiple versions). +sudo dnf install -y php + sudo dnf module reset php -y sudo dnf module enable php:remi- -y -# Install PHP. +# Install PHP (single/default version). sudo dnf install -y php + diff --git a/include/download-instructions/linux-redhat-cli-community.php b/include/download-instructions/linux-redhat-cli-community.php index 7a647a04ef..024609acfb 100644 --- a/include/download-instructions/linux-redhat-cli-community.php +++ b/include/download-instructions/linux-redhat-cli-community.php @@ -7,9 +7,15 @@ sudo dnf install -y dnf-plugins-core sudo dnf install -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-$(rpm -E %rhel).noarch.rpm sudo dnf install -y https://rpms.remirepo.net/enterprise/remi-release-$(rpm -E %rhel).rpm + + +# Install PHP (multiple versions). +sudo dnf install -y php + sudo dnf module reset php -y sudo dnf module enable php:remi- -y -# Install PHP. +# Install PHP (single/default version). sudo dnf install -y php +