Author: Ben Ramsey (ramsey)
Date: 2025-12-31T17:37:20-06:00
Commit:
https://github.com/php/web-php/commit/52bb5ca4fc7521477a802fc9fa19b3600e561128
Raw diff:
https://github.com/php/web-php/commit/52bb5ca4fc7521477a802fc9fa19b3600e561128.diff
PHP 8.1 is now end-of-life
Changed paths:
M downloads.php
M eol.php
M git-php.php
M git.php
M include/release-qa.php
M include/releases.inc
M include/version.inc
M supported-versions.php
Diff:
diff --git a/downloads.php b/downloads.php
index d72d6d9b1c..fd123c3f35 100644
--- a/downloads.php
+++ b/downloads.php
@@ -101,7 +101,6 @@ function option(string $value, string $desc, $attributes =
[]): string
'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 6685606aa2..e3eff384a4 100644
--- a/eol.php
+++ b/eol.php
@@ -6,6 +6,7 @@
// 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>',
diff --git a/git-php.php b/git-php.php
index c78697b527..8fd192b467 100644
--- a/git-php.php
+++ b/git-php.php
@@ -20,7 +20,7 @@
<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>
';
diff --git a/git.php b/git.php
index f6e3d6423e..7c42182c82 100644
--- a/git.php
+++ b/git.php
@@ -113,9 +113,6 @@
<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>
diff --git a/include/release-qa.php b/include/release-qa.php
index 11b4c0c9c3..c9c9346fd7 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -45,19 +45,6 @@
$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 5994faceb6..f601fbf902 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 87185f6db8..924139a126 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 36ff6c394e..265630a1d3 100644
--- a/supported-versions.php
+++ b/supported-versions.php
@@ -14,7 +14,6 @@
'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',
];
?>