diff options
-rw-r--r-- | wizard/index.php | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/wizard/index.php b/wizard/index.php index 20288004..592d3471 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -118,7 +118,7 @@ $phpvers = [ ]; $phpname = [ ':devel' => 'Development version, not ready for production', - '8.4' => '8.4.0alpha4', + '8.4' => '8.4.0beta1', ':stable' => 'Stable versions - usage recommended', '8.3' => '8.3.10 (active support until December 2025)', '8.2' => '8.2.22 (active support until December 2024)', @@ -349,8 +349,8 @@ if ($php && $os && $type && !$err) { printf("<li>Sorry, but PHP version older than <b>%s</b> are not available for <b>%s</b>, try multiple versions.</li><br />", $min, $os); } else { - if ($dist == 'Fedora' && version_compare($php, $tmp=(is_array($osvers[$os]) ? $osvers[$os][0] : $osvers[$os]), '=')) { - $repo = 'remi'; + if ($mod) { + $repo = 'remi-modular'; } else { $repo = $phpvers[$php]; } @@ -396,11 +396,7 @@ if ($php && $os && $type && !$err) { if (version_compare($php, '7.0', '>=')) { printf("<li>Command to install <b>testing</b> packages:"); - if ($dist != 'Fedora' && $mod) { - printf("<pre> $yum --enablerepo=remi-modular-test install php-xxx</pre>", $repo); - } else { - printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $repo); - } + printf("<pre> $yum --enablerepo=%s-test install php-xxx</pre>", $repo); printf("</li><br />"); } |