summaryrefslogtreecommitdiffstats
path: root/wizard/index.php
diff options
context:
space:
mode:
Diffstat (limited to 'wizard/index.php')
-rw-r--r--wizard/index.php80
1 files changed, 36 insertions, 44 deletions
diff --git a/wizard/index.php b/wizard/index.php
index f392078a..67374ca8 100644
--- a/wizard/index.php
+++ b/wizard/index.php
@@ -8,19 +8,17 @@
<link rel="shortcut icon" href="/favicon.ico" />
</head>
<?php
-define('FC_EOL', 31);
-define('FC_DEV', 34);
+define('FC_EOL', 32);
+define('FC_DEV', 35);
define('EL_EOL', 6);
define('EL_DEV', 9);
define('COUNTER', __DIR__ . "/counter.txt");
$osvers = [
- 'RHEL 8' => ['7.2','7.3'],
+ 'RHEL 8' => ['7.2','7.3', '7.4'],
'RHEL 7' => '5.4',
-// 'RHEL 6' => '5.3',
- 'CentOS 8' => ['7.2','7.3'],
+ 'CentOS 8' => ['7.2','7.3', '7.4'],
'CentOS 7' => '5.4',
-// 'CentOS 6' => '5.3',
'Fedora 34' => '7.4',
'Fedora 33' => '7.4',
'Fedora 32' => '7.4',
@@ -28,41 +26,32 @@ $osvers = [
$osmin = [
'RHEL 8' => '5.6',
'RHEL 7' => '5.4',
-// 'RHEL 6' => '5.4',
'CentOS 8' => '5.6',
'CentOS 7' => '5.4',
-// 'CentOS 6' => '5.4',
'Fedora 34' => '5.6',
'Fedora 33' => '5.6',
'Fedora 32' => '5.6',
];
$osmax = [
- 'RHEL 8' => '8.0',
- 'RHEL 7' => '8.0',
-// 'RHEL 6' => '7.3',
- 'CentOS 8' => '8.0',
- 'CentOS 7' => '8.0',
-// 'CentOS 6' => '7.3',
- 'Fedora 34' => '8.0',
- 'Fedora 33' => '8.0',
+ 'RHEL 8' => '8.1',
+ 'RHEL 7' => '8.1',
+ 'CentOS 8' => '8.1',
+ 'CentOS 7' => '8.1',
+ 'Fedora 34' => '8.1',
+ 'Fedora 33' => '8.1',
'Fedora 32' => '8.0',
];
$osname = [
- 'RHEL 8' => 'RHEL-8',
- 'RHEL 7' => 'RHEL-7 (maintained until June 2024)',
-// 'RHEL 6' => 'RHEL-6 (maintained until November 2020)',
- 'CentOS 8' => 'CentOS 8',
- 'CentOS 7' => 'CentOS 7 (maintained until June 2024)',
-// 'CentOS 6' => 'CentOS 6 (maintained until November 2020)',
- 'Fedora 34' => 'Fedora 34',
- 'Fedora 33' => 'Fedora 33',
- 'Fedora 32' => 'Fedora 32 (maintained until May 2021)',
-// 'Fedora 31' => 'Fedora 31 (End of life since November 2020)',
-];
-$grpname = [
- 'RHEL' => 'Red Hat Enterprise Linux',
- 'CentOS' => 'CentOS',
- 'Fedora' => 'Fedora',
+ ':rhel' => 'Red Hat Enterprise Linux',
+ 'RHEL 8' => 'RHEL 8.4',
+ 'RHEL 7' => 'RHEL 7.9 (maintained until June 2024)',
+ ':centos' => 'CentOS Linux and other clones',
+ 'CentOS 8' => 'CentOS 8.4.2105',
+ 'CentOS 7' => 'CentOS 7.9.2009 (maintained until June 2024)',
+ ':fedora' => 'Fedora Linux',
+ 'Fedora 34' => 'Fedora 34',
+ 'Fedora 33' => 'Fedora 33',
+ 'Fedora 32' => 'Fedora 32 (End of life since May 2021)',
];
$types = [
'base' => 'Default / Single version (simplest way)',
@@ -70,6 +59,7 @@ $types = [
];
$phpvers = [
// use false when only SCL
+ '8.1' => false,
'8.0' => 'remi-php80',
'7.4' => 'remi-php74',
'7.3' => 'remi-php73',
@@ -81,12 +71,13 @@ $phpvers = [
'5.4' => 'remi-php54',
];
$phpname = [
-// ':devel' => 'Development version, not ready for production',
+ ':devel' => 'Development version, not ready for production',
+ '8.1' => '8.1.0beta1',
':stable' => 'Stable versions - usage recommended',
- '8.0' => '8.0.5 (active support until November 2022)',
- '7.4' => '7.4.18 (active support until November 2021)',
+ '8.0' => '8.0.9 (active support until November 2022)',
+ '7.4' => '7.4.22 (active support until November 2021)',
':secure' => 'Security only versions',
- '7.3' => '7.3.28 (security only support until December 2021)',
+ '7.3' => '7.3.29 (security only support until December 2021)',
':eol' => 'Deprecated versions - usage discouraged',
'7.2' => '7.2.34 (no upstream support since November 2020)',
'7.1' => '7.1.33 (no upstream support since December 2019)',
@@ -122,13 +113,14 @@ $type = (isset($_POST['type']) && isset($types[$_POST['type']]) ? $_POST['type'
<option value=''>--</option>
<?php
$prev = false;
- foreach($osvers as $osver => $phpver) {
- list($dist, $ver) = explode(' ', $osver, 2);
- if ($dist != $prev) {
+ foreach($osname as $osver => $name) {
+ if ($osver[0] == ':') {
if ($prev) echo "</optgroup>";
- printf("<optgroup label='%s'>", $grpname[$prev=$dist]);
- }
- printf("<option value='%s' %s>&nbsp;&nbsp;&nbsp;&nbsp;%s</option>", $osver, ($osver===$os ? 'selected' : ''), $osname[$osver]);
+ printf("<optgroup label='%s'>", $name);
+ $prev = true;
+ } else {
+ printf("<option value='%s' %s>&nbsp;&nbsp;&nbsp;&nbsp;%s</option>", $osver, ($osver===$os ? 'selected' : ''), $name);
+ }
}
?>
</optgroup></select>
@@ -314,7 +306,7 @@ if ($php && $os && $type && !$err) {
printf("<li><b>WARNING</b>: PHP version <b>%s</b> is a <b>development</b> version, not ready for production.</li><br />", $php);
}
if ($dist=='Fedora') {
- $repo = ($phpvers[$php] ? 'remi' : 'remi-test'); // Dev version
+ $repo = 'remi'; //($phpvers[$php] ? 'remi' : 'remi-test'); // Dev version
printf("<li>The <b>%s</b> collection is available in the <b>$repo</b> repository</li><br />", $scl);
printf("<li>Command to install:");
@@ -323,8 +315,8 @@ if ($php && $os && $type && !$err) {
printf("<li>Command to install additional packages:");
printf("<pre> $yum --enablerepo=$repo install %s-php-xxx</pre>", $scl);
} else {
- $repo = ($phpvers[$php] ? 'remi-safe' : 'remi-test'); // Dev version
- $opt = ($phpvers[$php] ? '' : '--enablerepo=remi-test'); // Dev version
+ $repo = 'remi-safe'; //($phpvers[$php] ? 'remi-safe' : 'remi-test'); // Dev version
+ $opt = ""; //($phpvers[$php] ? '' : '--enablerepo=remi-test'); // Dev version
printf("<li>The <b>%s</b> collection is available in the <b>$repo</b> repository</li><br />", $scl);
printf("<li>Command to install:");