diff options
Diffstat (limited to 'wizard')
| -rw-r--r-- | wizard/index.php | 108 | 
1 files changed, 59 insertions, 49 deletions
| diff --git a/wizard/index.php b/wizard/index.php index 9e344564..f1960183 100644 --- a/wizard/index.php +++ b/wizard/index.php @@ -8,25 +8,26 @@  		<link rel="shortcut icon" href="/favicon.ico" />  </head>  <?php -define('FC_EOL', 39); -define('FC_DEV', 42); +define('FC_EOL', 40); +define('FC_DEV', 44);  define('EL_EOL', 7); -define('EL_DEV', 10); +define('EL_DEV', 11);  define('PHP_SEC', '8.1');  define('EPEL_DEV', 2); // 0 missing, 1 partially populated, 2 mostly full  define('COUNTER', __DIR__ . "/counter.txt");  $osvers = [      'RHEL 10'   => ['8.3'], -    'RHEL 9'    => ['8.0', '8.1', '8.2'], -    'RHEL 8'    => ['7.4', '8.0', '8.2'], +    'RHEL 9'    => ['8.0', '8.1', '8.2', '8.3'], +    'RHEL 8'    => ['7.4', '8.2'],      'CentOS 10' => ['8.3'], -    'CentOS 9'  => ['8.0', '8.1', '8.2'], -    'EL 9'      => ['8.0', '8.1', '8.2'], -    'EL 8'      => ['7.4', '8.0', '8.2'], +    'CentOS 9'  => ['8.0', '8.1', '8.2', '8.3'], +    'EL 10'     => ['8.3'], +    'EL 9'      => ['8.0', '8.1', '8.2', '8.3'], +    'EL 8'      => ['7.4', '8.2'], +    'Fedora 43' => '8.4', +    'Fedora 42' => '8.3',      'Fedora 41' => '8.3', -    'Fedora 40' => '8.3', -    'Fedora 39' => '8.2',  ];  $osmin = [      'RHEL 10'   => '7.4', @@ -34,11 +35,12 @@ $osmin = [      'RHEL 8'    => '5.6',      'CentOS 10' => '7.4',      'CentOS 9'  => '7.4', +    'EL 10'     => '7.4',      'EL 9'      => '7.4',      'EL 8'      => '5.6', +    'Fedora 43' => '7.4', +    'Fedora 42' => '7.4',      'Fedora 41' => '7.4', -    'Fedora 40' => '7.4', -    'Fedora 39' => '7.4',  ];  $osminbase = [      'RHEL 10'   => '7.4', @@ -46,39 +48,44 @@ $osminbase = [      'RHEL 8'    => '7.2',      'CentOS 10' => '7.4',      'CentOS 9'  => '7.4', +    'EL 10'     => '7.4',      'EL 9'      => '7.4',      'EL 8'      => '7.2', +    'Fedora 43' => '7.4', +    'Fedora 42' => '7.4',      'Fedora 41' => '7.4', -    'Fedora 40' => '7.4', -    'Fedora 39' => '7.4',  ];  $osmax = [ -    'RHEL 10'   => '8.4', -    'RHEL 9'    => '8.4', -    'RHEL 8'    => '8.4', -    'CentOS 10' => '8.4', -    'CentOS 9'  => '8.4', -    'EL 9'      => '8.4', -    'EL 8'      => '8.4', -    'Fedora 41' => '8.4', -    'Fedora 40' => '8.4', -    'Fedora 39' => '8.4', +    'RHEL 10'   => '8.5', +    'RHEL 9'    => '8.5', +    'RHEL 8'    => '8.5', +    'CentOS 10' => '8.5', +    'CentOS 9'  => '8.5', +    'EL 10'     => '8.5', +    'EL 9'      => '8.5', +    'EL 8'      => '8.5', +    'Fedora 43' => '8.5', +    'Fedora 42' => '8.5', +    'Fedora 41' => '8.5',  ];  $osname = [  	':rhel'     	=> 'Red Hat Enterprise Linux', -		'RHEL 10'   => 'RHEL 10.0-Beta (Development version)', -		'RHEL 9'    => 'RHEL 9.5',  //  (maintained until May 31, 2032) +		'RHEL 10'   => 'RHEL 10.0', //  (maintained until May 31, 2035) +		'RHEL 9'    => 'RHEL 9.6',  //  (maintained until May 31, 2032)  		'RHEL 8'    => 'RHEL 8.10', //  (maintained until May 31, 2029)  	':centos'		=> 'CentOS Stream', -		'CentOS 10' => 'CentOS Stream 10', +		'CentOS 10' => 'CentOS Stream 10',//  (maintained until May 31, 2030)  		'CentOS 9'  => 'CentOS Stream 9', //  (maintained until May 31, 2027)  	':clone'		=> 'Alma Linux, Rocky Linux and other clones', +		'EL 10'     => 'EL 10',  		'EL 9'      => 'EL 9',  		'EL 8'      => 'EL 8',  	':fedora'		=> 'Fedora Linux', -		'Fedora 41' => 'Fedora 41', -		'Fedora 40' => 'Fedora 40', -		'Fedora 39' => 'Fedora 39 (EOL since November 26, 2024)', +		'Fedora 43' => 'Fedora 43', +		'Fedora 42' => 'Fedora 42', +		'Fedora 41' => 'Fedora 41 (EOL on November 25th, 2025)', +//		'Fedora 40' => 'Fedora 40 (EOL on May 13th, 2025)', +//		'Fedora 39' => 'Fedora 39 (EOL since November 26, 2024)',  ];  $types = [      'base' => 'Default / Single version (simplest way)', @@ -92,6 +99,7 @@ $arches = [  ];  $phpvers = [  	// use false when only SCL +	'8.5' => 'remi-php85',  	'8.4' => 'remi-php84',  	'8.3' => 'remi-php83',  	'8.2' => 'remi-php82', @@ -107,25 +115,26 @@ $phpvers = [      '5.4' => 'remi-php54',  ];  $phpname = [ -//	':devel'  => 'Development version, not ready for production', +	':devel'  => 'Development version, not ready for production', +		'8.5' => '8.5.0RC3 (development version)',  	':stable' => 'Stable versions - usage recommended', -		'8.4' => '8.4.3 (active support until November 2026)', -		'8.3' => '8.3.16 (active support until December 2025)', +		'8.4' => '8.4.14 (active support until November 2026)', +		'8.3' => '8.3.27 (active support until December 2025)',  	':secure' => 'Security only versions', -		'8.2' => '8.2.27 (security only support until December 2026)', -		'8.1' => '8.1.31 (security only support until December 2025)', +		'8.2' => '8.2.23 (security only support until December 2026)', +		'8.1' => '8.1.33 (security only support until December 2025)',  	':eol'    => 'Deprecated versions - usage discouraged',  		'8.0' => '8.0.30 (no upstream support since November 2023)',  		'7.4' => '7.4.33 (no upstream support since November 2022)', -		'7.3' => '7.3.33 (no upstream support since December 2021)', -		'7.2' => '7.2.34 (no upstream support since November 2020)', -		'7.1' => '7.1.33 (no upstream support since December 2019)', -		'7.0' => '7.0.33 (no upstream support since December 2018)', -		'5.6' => '5.6.40 (no upstream support since January 2019)', +		'7.3' => '7.3.33 (no upstream support since December 2021) - EL-8 only', +		'7.2' => '7.2.34 (no upstream support since November 2020) - EL-8 only', +		'7.1' => '7.1.33 (no upstream support since December 2019) - SCL and EL-8 only', +		'7.0' => '7.0.33 (no upstream support since December 2018) - SCL and EL-8 only', +		'5.6' => '5.6.40 (no upstream support since January 2019) - SCL and EL-8 only',  ];  $phptest = [ -	'8.4' => '8.4.4RC1', -	'8.3' => '8.3.17RC1', +//	'8.4' => '8.4.14RC1', +//	'8.3' => '8.3.27RC1',  ];  $php  = (isset($_POST['php'])  && isset($phpvers[$_POST['php']]) ? $_POST['php'] : false); @@ -220,11 +229,11 @@ if ($os) {      } else if (($dist == 'Fedora' && $ver>=FC_DEV) || ($dist != 'Fedora' && $ver>=EL_DEV)) {          printf("<li><img src='notice.png'> <b>WARNING: %s</b> is a <b>development</b> version, not ready for production.</li><br />", $os); -    } else if ($ver == 7 || $ver == 39 || ($dist=="CentOS" && $ver == 8)) { -		if ($ver == 39)     $days = mktime(0, 0, 0, 11, 29, 2024); -		else if ($ver == 9) $days = mktime(0, 0, 0, 5, 31, $dist=="CentOS" ? 2027 : 2032); -		else if ($ver == 8) $days = mktime(0, 0, 0, 5, 31, $dist=="CentOS" ? 2024 : 2029); -		else if ($ver == 7) $days = mktime(0, 0, 0, 6, 30, 2024); +    } else if ($ver == 7 || $ver == 41 || ($dist=="CentOS" && $ver == 8)) { +		if ($ver == 41)     $days = mktime(0, 0, 0, 11, 25, 2025); +		else if ($ver == 9) $days = mktime(0, 0, 0,  5, 31, $dist=="CentOS" ? 2027 : 2032); +		else if ($ver == 8) $days = mktime(0, 0, 0,  5, 31, $dist=="CentOS" ? 2024 : 2029); +		else if ($ver == 7) $days = mktime(0, 0, 0,  6, 30, 2024);  		$eol  = date("F Y", $days);          $days = (int)(($days - time()) / (60 * 60 * 24));  		$weeks = round($days/7); @@ -436,7 +445,8 @@ if ($php && $os && $type && !$err) {          @file_put_contents(COUNTER, "$counter\n");      } else { -        printf("<li>You want <b>multiple versions </b> which means using a <a href='https://www.softwarecollections.org/en/'>Software Collection</a></li><br />"); +        printf("<li>You want <b>multiple versions </b> which means using a Software Collection (SCL)</li><br />"); +        printf("<li>Installation of a <b>default</b> version is recommended, using SCL only for additional versions</li><br />");          $scl='php'.str_replace('.', '', $php);  		echo "<li><p><img src='info.png'> <b>Tips</b>: For Software Collection usage read: "; @@ -517,7 +527,7 @@ if ($php && $os && $type && !$err) {  					<li><a href="https://blog.remirepo.net/pages/English-FAQ"  class="nlink" title="F.A.Q.">F.A.Q.</a></li>  					<li><a href="https://github.com/remicollet/remirepo/issues"  class="nlink" title="Bug tracker">Bug tracker</a></li>  					<li><a href="https://blog.remirepo.net/post/2021/05/20/remirepo-IRC-channel-on-Libera-network"  class="nlink" title="IRC channel">IRC channel</a></li> -					<li><a href='https://bsky.app/profile/remirepo.bsky.social'>@remirepo.bsky.social</a> on <b>BlueSky</b></li> +					<li><a href='https://bsky.app/profile/remirepo.net'>@remirepo.net</a> on <b>BlueSky</b></li>  					<li><a href='https://discord.gg/qwC6kM2dcE'>Discord server</a></li>  <!--					<li><?php  					$day  = (time() - mktime(0,0,0,12,8,2015)) / 86400; | 
