From f14463aa0d09dfd3756fa789c954c2ec43e9857e Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Wed, 3 Jul 2024 20:52:30 +0200 Subject: [PATCH 1/2] Show PHP 8.4 (pre-)releases on the Website According to a quick discussion[1], these will be build with VS17 (aka. Visual Studio 2022), so we also update the respective info in the sidebar. [1] --- docroot/listing.php | 12 +++++++++++- templates/left_column.php | 6 +++--- 2 files changed, 14 insertions(+), 4 deletions(-) diff --git a/docroot/listing.php b/docroot/listing.php index cfdd403..c92c2a5 100644 --- a/docroot/listing.php +++ b/docroot/listing.php @@ -36,7 +36,7 @@ $baseurl = '/' . $dir_to_parse . '/'; $versions = generate_listing($dir_to_parse, $nmode); -$major_order = array('8.3', '8.2', '8.1'); +$major_order = array('8.4', '8.3', '8.2', '8.1'); $minor_order = array( '8.1' => array( 'nts-vs16-x64', @@ -56,6 +56,12 @@ 'nts-vs16-x86', 'ts-vs16-x86' ), + '8.4' => array( + 'nts-vs17-x64', + 'ts-vs17-x64', + 'nts-vs17-x86', + 'ts-vs17-x86' + ), ); $labels = array( @@ -71,6 +77,10 @@ 'ts-vs16-x86' => 'VS16 x86 Thread Safe', 'nts-vs16-x64' => 'VS16 x64 Non Thread Safe', 'ts-vs16-x64' => 'VS16 x64 Thread Safe', + 'nts-vs17-x86' => 'VS17 x86 Non Thread Safe', + 'ts-vs17-x86' => 'VS17 x86 Thread Safe', + 'nts-vs17-x64' => 'VS17 x64 Non Thread Safe', + 'ts-vs17-x64' => 'VS17 x64 Thread Safe', ); if ($mode == 'snapshots') { diff --git a/templates/left_column.php b/templates/left_column.php index 3d6620e..aea9b4c 100644 --- a/templates/left_column.php +++ b/templates/left_column.php @@ -63,11 +63,11 @@

With Apache, using the apache2handler SAPI, you have to use the Thread Safe (TS) versions of PHP.

-

VC15 & VS16

-

More recent versions of PHP are built with VC15 or VS16 (Visual Studio 2017 or 2019 compiler respectively) and +

VS16 & VS17

+

More recent versions of PHP are built with VS16 or VS17 (Visual Studio 2019 or 2022 compiler respectively) and include improvements in performance and stability.

-

- The VC15 and VS16 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2019 x64 or x86 installed

+

- The VS16 and VS17 builds require to have the Visual C++ Redistributable for Visual Studio 2015-2022 x64 or x86 installed

TS and NTS

TS refers to multithread capable builds. NTS refers to single thread only builds. Use case for TS binaries involves interaction with From a82eac8026ccc005570b5474670e0c753d0380b5 Mon Sep 17 00:00:00 2001 From: "Christoph M. Becker" Date: Thu, 4 Jul 2024 13:14:48 +0200 Subject: [PATCH 2/2] Add announcement about the update to Visual Studio 2022 --- news/2024-07-04-1.php | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 news/2024-07-04-1.php diff --git a/news/2024-07-04-1.php b/news/2024-07-04-1.php new file mode 100644 index 0000000..ef7605e --- /dev/null +++ b/news/2024-07-04-1.php @@ -0,0 +1,15 @@ +

+ +

PHP 8.4 builds use Visual Studio 2022

+ +
+

+ While previous minor versions of PHP 8 have been built with Visual Studio + 2019 (aka. VS16), it is time to use Visual Studio 2022 (aka. VS17) for the + PHP 8.4 builds. To use these builds, you may need to install or update the + Visual C++ Redistributable for Visual Studio 2015-2022 + x64 or + x86. +

+
+