1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

PHP 8.1 is now end-of-life

This commit is contained in:
Ben Ramsey
2025-12-31 17:37:20 -06:00
parent b37156877c
commit 52bb5ca4fc
8 changed files with 40 additions and 32 deletions

View File

@@ -101,7 +101,6 @@ $versions = [
'8.4' => 'version 8.4',
'8.3' => 'version 8.3',
'8.2' => 'version 8.2',
'8.1' => 'version 8.1',
'default' => 'OS default version',
];

View File

@@ -6,6 +6,7 @@ include_once __DIR__ . '/include/branches.inc';
// Notes for specific branches can be added here, and will appear in the table.
$BRANCH_NOTES = [
'8.1' => '<a href="/migration82">A guide is available for migrating from PHP 8.1 to 8.2.</a>',
'8.0' => '<a href="/migration81">A guide is available for migrating from PHP 8.0 to 8.1.</a>',
'7.4' => '<a href="/migration80">A guide is available for migrating from PHP 7.4 to 8.0.</a>',
'7.3' => '<a href="/migration74">A guide is available for migrating from PHP 7.3 to 7.4.</a>',

View File

@@ -20,7 +20,7 @@ $SIDEBAR_DATA = '
<h3>Git access</h3>
<p>
If you would like to grab PHP sources or other PHP.net
hosted project data from PHP.net, you can also use
hosted project data from PHP.net, you can also use
<a href="/git.php">Git</a>. No Git account is required.
</p>
';

View File

@@ -113,9 +113,6 @@ site_header("Git Access", ["current" => "community"]);
<br>
<strong>PHP 8.2</strong>:
<code>git checkout PHP-8.2</code>
<br>
<strong>PHP 8.1</strong>:
<code>git checkout PHP-8.1</code>
<br><br>
</li>

View File

@@ -45,19 +45,6 @@ TODO:
$QA_RELEASES = [
'8.1.27' => [
'active' => true,
'release' => [
'type' => 'RC',
'number' => 0,
'sha256_gz' => '',
'sha256_bz2' => '',
'sha256_xz' => '',
'date' => '07 Nov 2023',
'baseurl' => 'https://downloads.php.net/',
],
],
'8.2.27' => [
'active' => true,
'release' => [

View File

@@ -2,6 +2,43 @@
$OLDRELEASES = array (
8 =>
array (
'8.1.34' =>
array (
'announcement' =>
array (
'English' => '/releases/8_1_34.php',
),
'tags' =>
array (
0 => 'security',
),
'date' => '18 Dec 2025',
'source' =>
array (
0 =>
array (
'filename' => 'php-8.1.34.tar.gz',
'name' => 'PHP 8.1.34 (tar.gz)',
'sha256' => '3c5b060ec8e0d5dd1d8237823f3161cc8bc5342aab3c46893eba9857759c4bfa',
'date' => '18 Dec 2025',
),
1 =>
array (
'filename' => 'php-8.1.34.tar.bz2',
'name' => 'PHP 8.1.34 (tar.bz2)',
'sha256' => '98e0a08a0fae37d08dfcca2f5ff6664863097dde4b1d360af2acc8c3542f2a0f',
'date' => '18 Dec 2025',
),
2 =>
array (
'filename' => 'php-8.1.34.tar.xz',
'name' => 'PHP 8.1.34 (tar.xz)',
'sha256' => 'ffa9e0982e82eeaea848f57687b425ed173aa278fe563001310ae2638db5c251',
'date' => '18 Dec 2025',
),
),
'museum' => false,
),
'8.1.33' =>
array (
'announcement' =>

View File

@@ -68,18 +68,6 @@ $RELEASES = (function () {
]
];
/* PHP 8.1 Release */
$data['8.1'] = [
'version' => '8.1.34',
'date' => '18 Dec 2025',
'tags' => ['security'], // Set to ['security'] for security releases.
'sha256' => [
'tar.gz' => '3c5b060ec8e0d5dd1d8237823f3161cc8bc5342aab3c46893eba9857759c4bfa',
'tar.bz2' => '98e0a08a0fae37d08dfcca2f5ff6664863097dde4b1d360af2acc8c3542f2a0f',
'tar.xz' => 'ffa9e0982e82eeaea848f57687b425ed173aa278fe563001310ae2638db5c251',
]
];
$ret = [];
foreach ($data as $release) {
$version = $release['version'];
@@ -126,7 +114,7 @@ function show_source_releases()
{
global $RELEASES;
$SHOW_COUNT = 5;
$SHOW_COUNT = 4;
$current_uri = htmlspecialchars($_SERVER['REQUEST_URI'], ENT_QUOTES, 'UTF-8');

View File

@@ -14,7 +14,6 @@ $VERSION_NOTES = [
'8.4' => 'https://www.php.net/manual/migration84.php',
'8.3' => 'https://www.php.net/manual/migration83.php',
'8.2' => 'https://www.php.net/manual/migration82.php',
'8.1' => 'https://www.php.net/manual/migration81.php',
];
?>