diff options
author | Remi Collet <fedora@famillecollet.com> | 2017-02-10 14:46:52 +0100 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2017-02-10 14:46:52 +0100 |
commit | 49e105a9edfb6788e4aa961932a8a1e10c33fd87 (patch) | |
tree | 6ccf09b29807efb00ec75a41e172dc6743c6c548 /wizard/index.php | |
parent | 8a7e5e429de15e0f41f6ae216fc2bf92075a13c7 (diff) |
wizard: be aware of remi-php54 repo
Diffstat (limited to 'wizard/index.php')
-rw-r--r-- | wizard/index.php | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/wizard/index.php b/wizard/index.php index a2a930eb..8f4f0320 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -52,7 +52,7 @@ $phpvers = [ '7.0' => 'remi-php70', '5.6' => 'remi-php56', '5.5' => 'remi-php55', - '5.4' => 'remi', + '5.4' => 'remi-php54', ]; $phpname = [ '7.1' => '7.1.1 (active support until Dec 2018)', @@ -187,15 +187,6 @@ if ($php && $os && $type && !$err) { } else if (version_compare($php, $osvers[$os], '<')) { printf("<li>Sorry, but PHP version older than <b>%s</b> are not available for <b>%s</b>, try multiple versions.</li><br />", $osvers[$os], $os); - } else if (version_compare($php, $osvers[$os], '=')) { - printf("<li>PHP version <b>%s</b> packages are available for <b>%s</b> in <b>remi</b> repository</li><br />", $php, $os); - printf("<li>Command to upgrade:"); - printf("<pre> $yum --enablerepo=remi update 'php*'</pre>"); - printf("</li><br />"); - printf("<li>Command to install additional packages:"); - printf("<pre> $yum --enablerepo=remi install php-xxx</pre>"); - printf("</li><br />"); - } else { printf("<li>PHP version <b>%s</b> packages are available for <b>%s</b> in <b>%s</b> repository</li><br />", $php, $os, $phpvers[$php]); if ($ver < 6) { |