From 52bb5ca4fc7521477a802fc9fa19b3600e561128 Mon Sep 17 00:00:00 2001 From: Ben Ramsey Date: Wed, 31 Dec 2025 17:37:20 -0600 Subject: [PATCH] PHP 8.1 is now end-of-life --- downloads.php | 1 - eol.php | 1 + git-php.php | 2 +- git.php | 3 --- include/release-qa.php | 13 ------------- include/releases.inc | 37 +++++++++++++++++++++++++++++++++++++ include/version.inc | 14 +------------- supported-versions.php | 1 - 8 files changed, 40 insertions(+), 32 deletions(-) diff --git a/downloads.php b/downloads.php index d72d6d9b1..fd123c3f3 100644 --- a/downloads.php +++ b/downloads.php @@ -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', ]; diff --git a/eol.php b/eol.php index 6685606aa..e3eff384a 100644 --- a/eol.php +++ b/eol.php @@ -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 guide is available for migrating from PHP 8.1 to 8.2.', '8.0' => 'A guide is available for migrating from PHP 8.0 to 8.1.', '7.4' => 'A guide is available for migrating from PHP 7.4 to 8.0.', '7.3' => 'A guide is available for migrating from PHP 7.3 to 7.4.', diff --git a/git-php.php b/git-php.php index c78697b52..8fd192b46 100644 --- a/git-php.php +++ b/git-php.php @@ -20,7 +20,7 @@ $SIDEBAR_DATA = '

Git access

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 Git. No Git account is required.

'; diff --git a/git.php b/git.php index f6e3d6423..7c42182c8 100644 --- a/git.php +++ b/git.php @@ -113,9 +113,6 @@ site_header("Git Access", ["current" => "community"]);
PHP 8.2: git checkout PHP-8.2 -
- PHP 8.1: - git checkout PHP-8.1

diff --git a/include/release-qa.php b/include/release-qa.php index 11b4c0c9c..c9c9346fd 100644 --- a/include/release-qa.php +++ b/include/release-qa.php @@ -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' => [ diff --git a/include/releases.inc b/include/releases.inc index 5994faceb..f601fbf90 100644 --- a/include/releases.inc +++ b/include/releases.inc @@ -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' => diff --git a/include/version.inc b/include/version.inc index 87185f6db..924139a12 100644 --- a/include/version.inc +++ b/include/version.inc @@ -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'); diff --git a/supported-versions.php b/supported-versions.php index 36ff6c394..265630a1d 100644 --- a/supported-versions.php +++ b/supported-versions.php @@ -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', ]; ?>