From 17a636ae2ad35c59546ed3fea63790d9c42cff03 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 10 Aug 2026 13:10:57 +0100 Subject: [PATCH 01/11] Set cache header for documentation downloads --- public/download-docs.php | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/public/download-docs.php b/public/download-docs.php index d228b21e3e..79961ec0ff 100644 --- a/public/download-docs.php +++ b/public/download-docs.php @@ -38,7 +38,13 @@ '; -site_header("Download documentation", ["current" => "docs"]); +site_header( + "Download documentation", + [ + "current" => "docs", + 'cache_control' => 5 * 60, // 5 minutes + ] +); // Format to look for $formats = [ From da0b49d37d5ce9fc7a788a973ad79c0251e615b9 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 10 Aug 2026 13:50:36 +0100 Subject: [PATCH 02/11] Fixed root --- public/releases/active.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/releases/active.php b/public/releases/active.php index d2cfca2862..5aa8360c1a 100644 --- a/public/releases/active.php +++ b/public/releases/active.php @@ -5,7 +5,7 @@ $_SERVER['BASE_PAGE'] = 'releases/active.php'; require_once __DIR__ . '/../../include/prepend.inc'; -require_once ProjectGlobals::getPublicRoot(). '/include/branches.inc'; +require_once ProjectGlobals::getProjectRoot(). '/include/branches.inc'; header('Content-Type: application/json; charset=UTF-8'); From b84b62e12523c9530353b5ea8f21f62b761e42d2 Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Mon, 10 Aug 2026 14:09:50 +0100 Subject: [PATCH 03/11] Restore broken introduction text --- public/releases/index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/public/releases/index.php b/public/releases/index.php index 305940245e..7a259cb250 100644 --- a/public/releases/index.php +++ b/public/releases/index.php @@ -79,7 +79,10 @@ ]); echo "

Unsupported Historical Releases

\n\n"; -echo ">our downloads page. Please note that +echo "

+ We have collected all the official information and code available for + past PHP releases. You can find more details on the current release + on our downloads page. Please note that older releases are listed for archival purposes only, and they are no longer supported.

\n"; From f79a73d9854d3d6451fbc254fac215284bdf757a Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2026 09:18:52 -0500 Subject: [PATCH 04/11] Update ARCHIVE_FILE_REL to public folder --- src/News/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/News/Entry.php b/src/News/Entry.php index 00b82ebfd8..79a5e60395 100755 --- a/src/News/Entry.php +++ b/src/News/Entry.php @@ -15,7 +15,7 @@ class Entry public const PHPWEB = __DIR__ . '/../../'; - public const ARCHIVE_FILE_REL = 'archive/archive.xml'; + public const ARCHIVE_FILE_REL = 'public/archive/archive.xml'; public const ARCHIVE_FILE_ABS = self::PHPWEB . self::ARCHIVE_FILE_REL; From 29f7b3cd5c70a004cd491ce3af79c2217a0dbf54 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2026 09:30:07 -0500 Subject: [PATCH 05/11] update IMAGE_PATH_REL to public/ --- src/News/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/News/Entry.php b/src/News/Entry.php index 79a5e60395..bd1f224be9 100755 --- a/src/News/Entry.php +++ b/src/News/Entry.php @@ -23,7 +23,7 @@ class Entry public const ARCHIVE_ENTRIES_ABS = self::PHPWEB . self::ARCHIVE_ENTRIES_REL; - public const IMAGE_PATH_REL = 'images/news/'; + public const IMAGE_PATH_REL = 'public/images/news/'; public const IMAGE_PATH_ABS = self::PHPWEB . self::IMAGE_PATH_REL; From 3ab69ee3e571b91586b4f2cb73e96a73ec3a8996 Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2026 09:34:08 -0500 Subject: [PATCH 06/11] Update ARCHIVE_ENTRIES_REL to the public folder --- src/News/Entry.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/News/Entry.php b/src/News/Entry.php index bd1f224be9..552aed883d 100755 --- a/src/News/Entry.php +++ b/src/News/Entry.php @@ -19,7 +19,7 @@ class Entry public const ARCHIVE_FILE_ABS = self::PHPWEB . self::ARCHIVE_FILE_REL; - public const ARCHIVE_ENTRIES_REL = 'archive/entries/'; + public const ARCHIVE_ENTRIES_REL = 'public/archive/entries/'; public const ARCHIVE_ENTRIES_ABS = self::PHPWEB . self::ARCHIVE_ENTRIES_REL; From 7f9cbec19623eff545394f95b37654d98d7c0a2c Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2026 09:50:06 -0500 Subject: [PATCH 07/11] Announce PHP 8.6.0beta1 --- include/release-qa.php | 14 +++++++------- public/archive/archive.xml | 2 ++ public/archive/entries/2026-08-13-1.xml | 22 ++++++++++++++++++++++ 3 files changed, 31 insertions(+), 7 deletions(-) create mode 100644 public/archive/entries/2026-08-13-1.xml diff --git a/include/release-qa.php b/include/release-qa.php index 59f16e0f08..6967193ac3 100644 --- a/include/release-qa.php +++ b/include/release-qa.php @@ -100,13 +100,13 @@ '8.6.0' => [ 'active' => true, 'release' => [ - 'type' => 'alpha', - 'number' => 3, - 'sha256_bz2' => '34bf91f3c6f880ed196ff6855f850ec466a75540f78320540d367b349e49bf16', - 'sha256_gz' => 'e63ffdbae7ee90b43ce11b2ec16f62c6b623eec39c726060dba920af6088527b', - 'sha256_xz' => '5eec9db06195860097005309eb6176309ae738df28f56eb23c87be5887d86c78', - 'date' => '30 July 2026', - 'baseurl' => 'https://downloads.php.net/~mbeccati/', + 'type' => 'beta', + 'number' => 1, + 'sha256_bz2' => '7061a8c930e75e52c71264e5fac43025cec7b40cbd31d941a744218916f53cfd', + 'sha256_gz' => 'de760e365ed01a4e80ef40a25e2ce809bf054383cbce1bee3d94146f30eee477', + 'sha256_xz' => 'e44571d75b368b36a2d6db6878705e5512af5d2a78e31463c49796a94018d282', + 'date' => '13 August 2026', + 'baseurl' => 'https://downloads.php.net/~svpernova09/', ], ], ]; diff --git a/public/archive/archive.xml b/public/archive/archive.xml index 68b70ac5b9..f526a3709f 100644 --- a/public/archive/archive.xml +++ b/public/archive/archive.xml @@ -9,6 +9,8 @@ http://php.net/contact php-webmaster@lists.php.net + + diff --git a/public/archive/entries/2026-08-13-1.xml b/public/archive/entries/2026-08-13-1.xml new file mode 100644 index 0000000000..45c13f104b --- /dev/null +++ b/public/archive/entries/2026-08-13-1.xml @@ -0,0 +1,22 @@ + + + PHP 8.6.0 Beta 1 is available for testing + https://www.php.net/archive/2026.php#2026-08-13-1 + 2026-08-13T14:33:26+00:00 + 2026-08-13T14:33:26+00:00 + + + + +
+

The PHP team is pleased to announce the first beta release of PHP 8.6.0, Beta 1. This continues the PHP 8.6 release cycle, the rough outline of which is specified in the PHP Wiki.

+

For source downloads of PHP 8.6.0 Beta 1 please visit the download page.

+

Please carefully test this version and report any issues found on GitHub.

+

Please DO NOT use this version in production, it is an early test version.

+

For more information on the new features and other changes, you can read the NEWS file, or the UPGRADING file for a complete list of upgrading notes. These files can also be found in the release archive.

+

The next release will be Beta 2, planned for 27 Aug 2026.

+

The signatures for the release can be found in the manifest or on the Release Candidates page.

+

Thank you for helping us make PHP better.

+
+
+
From 4f5ab299d1505e225fdb9abf15673f7a1ec9341d Mon Sep 17 00:00:00 2001 From: Joe Ferguson Date: Thu, 13 Aug 2026 09:51:28 -0500 Subject: [PATCH 08/11] Remove duplicate entries/2026-08-13-1.xml from archive --- public/archive/archive.xml | 1 - 1 file changed, 1 deletion(-) diff --git a/public/archive/archive.xml b/public/archive/archive.xml index f526a3709f..c833d81fa6 100644 --- a/public/archive/archive.xml +++ b/public/archive/archive.xml @@ -10,7 +10,6 @@ php-webmaster@lists.php.net - From 42824dfc131639018e0cfb5c9f2e3875eb30792d Mon Sep 17 00:00:00 2001 From: Calvin Buckley Date: Thu, 13 Aug 2026 12:53:07 -0300 Subject: [PATCH 09/11] Announce PHP 8.4.25RC1 --- include/release-qa.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/release-qa.php b/include/release-qa.php index 6967193ac3..d166be8c21 100644 --- a/include/release-qa.php +++ b/include/release-qa.php @@ -71,16 +71,16 @@ ], ], - '8.4.24' => [ + '8.4.25' => [ 'active' => true, 'release' => [ 'type' => 'RC', - 'number' => 0, - 'sha256_bz2' => '', - 'sha256_gz' => '', - 'sha256_xz' => '', - 'date' => '16 July 2026', - 'baseurl' => 'https://downloads.php.net/', + 'number' => 1, + 'sha256_bz2' => 'bca85bc4cda00e409835dcec133474743cf99090fcbacdf674ae70bbc5d7c6dc', + 'sha256_gz' => '0d1b8936e67bae406f20691a4225b398baaa31a1dbdeea5959a553a26c9f5f86', + 'sha256_xz' => '666d849f376b20f21dad94c14a0c5faa1649e3c77de50330b05d7967ee5b2441', + 'date' => '13 August 2026', + 'baseurl' => 'https://downloads.php.net/~calvinb/', ], ], From cb0001a090cfc024a7faa29f4392dd9fc5544020 Mon Sep 17 00:00:00 2001 From: Daniel Scherzer Date: Thu, 13 Aug 2026 10:35:19 -0700 Subject: [PATCH 10/11] Announce PHP 8.5.10RC1 --- include/release-qa.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/include/release-qa.php b/include/release-qa.php index d166be8c21..cf0cc09753 100644 --- a/include/release-qa.php +++ b/include/release-qa.php @@ -84,16 +84,16 @@ ], ], - '8.5.9' => [ + '8.5.10' => [ 'active' => true, 'release' => [ 'type' => 'RC', - 'number' => 0, - 'sha256_bz2' => '', - 'sha256_gz' => '', - 'sha256_xz' => '', - 'date' => '16 July 2026', - 'baseurl' => 'https://downloads.php.net/~edorian/', + 'number' => 1, + 'sha256_bz2' => '7de35d39e81f418645a8a81da5802c635fea8c9e367aea36e6e54eaf3e753ad0', + 'sha256_gz' => 'ef9a00660be937664e1a02c4bf8487d6addc3a8513a415fc30974a3e84932b39', + 'sha256_xz' => '7afb06b0512eadfb3a6f7227aa6cc93530d95f9f97024efa133ec7b05c36cfec', + 'date' => '13 August 2026', + 'baseurl' => 'https://downloads.php.net/~daniels/', ], ], From 26b50b74acf74e10646804f2e31866c199eb9bfd Mon Sep 17 00:00:00 2001 From: Derick Rethans Date: Fri, 14 Aug 2026 13:10:50 +0100 Subject: [PATCH 11/11] Fix 'supported-versions.php' page, and caching in some other pages too --- phpstan.neon.dist | 4 ++-- public/images/supported-versions.php | 7 +++++-- {include => public/include}/pregen-confs.inc | 0 {include => public/include}/pregen-news.inc | 0 public/releases/active.php | 1 + public/releases/index.php | 4 +++- public/supported-versions.php | 13 +++++++++++-- 7 files changed, 22 insertions(+), 7 deletions(-) rename {include => public/include}/pregen-confs.inc (100%) rename {include => public/include}/pregen-news.inc (100%) diff --git a/phpstan.neon.dist b/phpstan.neon.dist index ee0bff472b..7dd8e0ad29 100644 --- a/phpstan.neon.dist +++ b/phpstan.neon.dist @@ -17,5 +17,5 @@ parameters: - var/ (?) - public/manual/en - include/releases.inc - - include/pregen-news.inc - - include/pregen-confs.inc + - public/include/pregen-news.inc + - public/include/pregen-confs.inc diff --git a/public/images/supported-versions.php b/public/images/supported-versions.php index 80434bbb8c..5e16e15d73 100644 --- a/public/images/supported-versions.php +++ b/public/images/supported-versions.php @@ -1,6 +1,8 @@ '; } diff --git a/include/pregen-confs.inc b/public/include/pregen-confs.inc similarity index 100% rename from include/pregen-confs.inc rename to public/include/pregen-confs.inc diff --git a/include/pregen-news.inc b/public/include/pregen-news.inc similarity index 100% rename from include/pregen-news.inc rename to public/include/pregen-news.inc diff --git a/public/releases/active.php b/public/releases/active.php index 5aa8360c1a..d9ac8fb0d0 100644 --- a/public/releases/active.php +++ b/public/releases/active.php @@ -8,5 +8,6 @@ require_once ProjectGlobals::getProjectRoot(). '/include/branches.inc'; header('Content-Type: application/json; charset=UTF-8'); +header('Cache-Control: public, max-age=900'); echo json_encode(get_active_branches()); diff --git a/public/releases/index.php b/public/releases/index.php index 7a259cb250..e87e49df4c 100644 --- a/public/releases/index.php +++ b/public/releases/index.php @@ -1,8 +1,10 @@ ['supported-versions.css']]); +site_header( + 'Supported Versions', + [ + 'css' => ['supported-versions.css'], + 'cache_control' => 3 * 60 * 60, // 3 hours + ] +); // Version notes: if you need to make a note about a version having an unusual // support lifetime, add it under a heading with an anchor, and add the anchor