summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-09-18 11:38:43 +0200
committerRemi Collet <remi@remirepo.net>2020-09-18 11:38:43 +0200
commit8ba99a67520be19721924d7a41bd3d7f7029e893 (patch)
treea6aad5add633934e118c3e7c3b8583c1891710df
parent2daaaa64fd58fc76d048d8aef57ae1b8f59addd8 (diff)
Wizard: some more yum command to avoid some common issues with enabled repo.
-rw-r--r--wizard/index.php8
1 files changed, 6 insertions, 2 deletions
diff --git a/wizard/index.php b/wizard/index.php
index 9cc36026..6f9e1631 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -81,7 +81,7 @@ $phpvers = [
];
$phpname = [
':devel' => 'Development version, not ready for production',
- '8.0' => '8.0.0beta3',
+ '8.0' => '8.0.0beta4',
':stable' => 'Stable versions - usage recommended',
'7.4' => '7.4.10 (active support until November 2021)',
'7.3' => '7.3.22 (active support until December 2020)',
@@ -259,7 +259,11 @@ if ($php && $os && $type && !$err) {
printf("<li>Alternatively, you may prefer the modern way, by to enabling the module stream for $php:");
}
} else if ($yum == 'yum') { // EL-6, 7
- printf("<pre> yum-config-manager --enable %s</pre></li><br />", $repo);
+ printf("<pre> yum-config-manager --disable 'remi-php*'");
+ printf( "\n yum-config-manager --enable %s</pre></li><br />", $repo);
+
+ printf("<li>You can check the list of the enabled repositories:");
+ printf("<pre> yum repolist</pre></li><br />");
printf("<li>If the <b>priorities</b> plugin is enabled, ensure %s have higher priority (a lower value) than %s</li><br />", $repo, ($dist == 'Fedora' ? 'fedora' : 'base and updates'));
} else { // EL-8, module only
printf("<li>You have to enable the module stream for $php:");