Author: Christoph M. Becker (cmb69) Committer: GitHub (web-flow) Pusher: cmb69 Date: 2024-07-05T17:46:20+02:00
Commit: https://github.com/php/web-windows/commit/401961ee0b2446b069e96fa95af907bad92914bc Raw diff: https://github.com/php/web-windows/commit/401961ee0b2446b069e96fa95af907bad92914bc.diff Show PHP 8.4 (pre-)releases on the Website (#27) * 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. We also add an announcement regarding the update to Visual Studio 2022. [1] <https://github.com/php/php-sdk-binary-tools/pull/5#issuecomment-2206216181> Changed paths: A news/2024-07-04-1.php 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/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 @@ +<div class="info entry" id="news-2024-07-04-1"> + <!-- .info --> + <h3 class="summary entry-title">PHP 8.4 builds use Visual Studio 2022</h3> + <?php news_date('04-Jul-2024') ?> + <div> + <p> + 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 + <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>. + </p> + </div> +</div><!-- .info --> 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 & 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 & 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