From 63cd9d0f4a37be61b7ed4301859bf429a0976588 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Tue, 9 Nov 2021 16:15:46 +0100 Subject: Wizard: EL-9 also have 7.4 --- wizard/index.php | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/wizard/index.php b/wizard/index.php index 91f9ece7..fddc3121 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -235,6 +235,12 @@ if ($php && $os && $type && !$err) { if ($type == 'base') { printf("
  • You want a single version which means replacing base packages from the distribution

  • "); + if ($dist != Fedora && $ver >= 9) { + $min = $osmin[$os]; + } else { + $min = (is_array($osvers[$os]) ? $osvers[$os][0] : $osvers[$os]); + } + printf("
  • Packages have the same name than the base repository, ie php-*

  • "); if (version_compare($php, $osmax[$os], '>')) { @@ -243,8 +249,8 @@ if ($php && $os && $type && !$err) { } else if (!$phpvers[$php]) { printf("
  • Sorry, but PHP version %s are not yet available for %s as single version, try multiple versions.

  • ", $php, $os); - } else if (version_compare($php, $tmp=(is_array($osvers[$os]) ? $osvers[$os][0] : $osvers[$os]), '<')) { - printf("
  • Sorry, but PHP version older than %s are not available for %s, try multiple versions.

  • ", $tmp, $os); + } else if (version_compare($php, $min, '<')) { + printf("
  • Sorry, but PHP version older than %s are not available for %s, try multiple versions.

  • ", $min, $os); } else { if ($dist == 'Fedora' && version_compare($php, $tmp=(is_array($osvers[$os]) ? $osvers[$os][0] : $osvers[$os]), '=')) { -- cgit