Skip to content

Commit 401961e

Browse files
authored
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] <php/php-sdk-binary-tools#5 (comment)>
1 parent e9bbfd1 commit 401961e

File tree

3 files changed

+29
-4
lines changed

3 files changed

+29
-4
lines changed

docroot/listing.php

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@
3636
$baseurl = '/' . $dir_to_parse . '/';
3737

3838
$versions = generate_listing($dir_to_parse, $nmode);
39-
$major_order = array('8.3', '8.2', '8.1');
39+
$major_order = array('8.4', '8.3', '8.2', '8.1');
4040
$minor_order = array(
4141
'8.1' => array(
4242
'nts-vs16-x64',
@@ -56,6 +56,12 @@
5656
'nts-vs16-x86',
5757
'ts-vs16-x86'
5858
),
59+
'8.4' => array(
60+
'nts-vs17-x64',
61+
'ts-vs17-x64',
62+
'nts-vs17-x86',
63+
'ts-vs17-x86'
64+
),
5965
);
6066

6167
$labels = array(
@@ -71,6 +77,10 @@
7177
'ts-vs16-x86' => 'VS16 x86 Thread Safe',
7278
'nts-vs16-x64' => 'VS16 x64 Non Thread Safe',
7379
'ts-vs16-x64' => 'VS16 x64 Thread Safe',
80+
'nts-vs17-x86' => 'VS17 x86 Non Thread Safe',
81+
'ts-vs17-x86' => 'VS17 x86 Thread Safe',
82+
'nts-vs17-x64' => 'VS17 x64 Non Thread Safe',
83+
'ts-vs17-x64' => 'VS17 x64 Thread Safe',
7484
);
7585

7686
if ($mode == 'snapshots') {

news/2024-07-04-1.php

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<div class="info entry" id="news-2024-07-04-1">
2+
<!-- .info -->
3+
<h3 class="summary entry-title">PHP 8.4 builds use Visual Studio 2022</h3>
4+
<?php news_date('04-Jul-2024') ?>
5+
<div>
6+
<p>
7+
While previous minor versions of PHP 8 have been built with Visual Studio
8+
2019 (aka. VS16), it is time to use Visual Studio 2022 (aka. VS17) for the
9+
PHP 8.4 builds. To use these builds, you may need to install or update the
10+
Visual C++ Redistributable for Visual Studio 2015-2022
11+
<a href="https://aka.ms/vs/17/release/vc_redist.x64.exe">x64</a> or
12+
<a href="https://aka.ms/vs/17/release/vc_redist.x86.exe">x86</a>.
13+
</p>
14+
</div>
15+
</div><!-- .info -->

templates/left_column.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,11 +63,11 @@
6363

6464
<p>With Apache, using the apache2handler SAPI, you have to use the Thread Safe (TS) versions of PHP.</p>
6565

66-
<h4><u>VC15 &amp; VS16</u></h4>
67-
<p>More recent versions of PHP are built with VC15 or VS16 (Visual Studio 2017 or 2019 compiler respectively) and
66+
<h4><u>VS16 &amp; VS17</u></h4>
67+
<p>More recent versions of PHP are built with VS16 or VS17 (Visual Studio 2019 or 2022 compiler respectively) and
6868
include improvements in performance and stability.</p>
6969

70-
<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>
70+
<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>
7171

7272
<h4><u>TS and NTS</u></h4>
7373
<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

0 commit comments

Comments
 (0)