Author: Christoph M. Becker (cmb69)
Date: 2024-07-03T20:52:30+02:00

Commit: 
https://github.com/php/web-windows/commit/f14463aa0d09dfd3756fa789c954c2ec43e9857e
Raw diff: 
https://github.com/php/web-windows/commit/f14463aa0d09dfd3756fa789c954c2ec43e9857e.diff

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] <https://github.com/php/php-sdk-binary-tools/pull/5#issuecomment-2206216181>

Changed paths:
  M  docroot/listing.php
  M  templates/left_column.php


Diff:

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 @@
 
                                                                        <p>With 
Apache, using the apache2handler SAPI, you have to use the Thread Safe (TS) 
versions of PHP.</p>
 
-                                                                       
<h4><u>VC15 &amp; VS16</u></h4>
-                                                                       <p>More 
recent versions of PHP are built with VC15 or VS16 (Visual Studio 2017 or 2019 
compiler respectively) and
+                                                                       
<h4><u>VS16 &amp; VS17</u></h4>
+                                                                       <p>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.</p>
 
-                                                                       <p> - 
The VC15 and VS16 builds require to have the <i>Visual C++ Redistributable for 
Visual Studio 2015-2019</i> <a 
href="https://aka.ms/vs/16/release/VC_redist.x64.exe";>x64</a> or <a 
href="https://aka.ms/vs/16/release/VC_redist.x86.exe";>x86</a> installed</p>
+                                                                       <p> - 
The VS16 and VS17 builds require to have the <i>Visual C++ Redistributable for 
Visual Studio 2015-2022</i> <a 
href="https://aka.ms/vs/17/release/vc_redist.x64.exe";>x64</a> or <a 
href="https://aka.ms/vs/17/release/vc_redist.x86.exe";>x86</a> installed</p>
 
                                                                        
<h4><u>TS and NTS</u></h4>
                                                                        
<p><strong>TS</strong> refers to multithread capable builds. 
<strong>NTS</strong> refers to single thread only builds. Use case for 
<strong>TS</strong> binaries involves interaction with

Reply via email to