Doc #81081 [Asn->Nab]: php8 requires Visual Studio 2019

From: Date: Mon, 31 May 2021 21:00:25 +0000
Subject: Doc #81081 [Asn->Nab]: php8 requires Visual Studio 2019
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18822@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=81081&edit=1

 ID:                 81081
 Updated by:         cmb@php.net
 Reported by:        maggus dot staab+php at googlemail dot com
 Summary:            php8 requires Visual Studio 2019
-Status:             Assigned
+Status:             Not a bug
 Type:               Documentation Problem
 Package:            Documentation problem
 Operating System:   windows10 x64
 PHP Version:        8.0.7RC1
 Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

Indeed, there is nothing to do regarding the docs.

@maggus: as of Visual Studio 2015, the main DLL is called
vcruntime140.dll, and new versions of the MSVC runtime are
supposed to be compatible with all PHP 7 versions and PHP 8.0 (and
likely 8.1).  You likely had installed an old runtime; these are
supposed to be compatible as well (otherwise MS would have
increased the version number), but PHP makes double sure that the
runtime is up to date for the PHP version.


Previous Comments:
------------------------------------------------------------------------
[2021-05-31 08:23:48] krakjoe@php.net

Christoph since windows things are happening here, and I don't understand if any further action
is required (I think it's not), can you wrap this one up when done please :)

------------------------------------------------------------------------
[2021-05-25 13:09:58] maggus dot staab+php at googlemail dot com

I am wondering why I had to update the 'Microsoft Visual C++ Redistributable' package,
since I got a lot of warnings using php 8.0.6 for some extensions.

something like 'extension linked with version xy cannot be loaded' or similar.

on the very same workstation php 7.4 worked without problems, therefore I came to the conclusion
that with php 8.x something changed.

------------------------------------------------------------------------
[2021-05-25 12:06:48] cmb@php.net

> (which requires a newer version then php 7.4)

Not really.  For a long time Microsoft distributes the Visual C++
Redistributable for Visual Studio 2015-2019 which works for all
PHP 7 and 8 (so far).

Anyway, the sources of that manual page are at
<https://github.com/php/doc-en/blob/98f2a733bc07e1c6d8fddb1d865b09fd79bdbea2/install/windows/index.xml#L33>.

------------------------------------------------------------------------
[2021-05-25 11:58:38] maggus dot staab+php at googlemail dot com

Description:
------------
the manual page: https://php.net/install.windows.requirements
mentions the requirements regarding 'Microsoft Visual C++ Redistributable' for php 5 and
php 7.

it misses this instructions for php8 (which requires a newer version then php 7.4).

would be great this could be added.

I tried finding the source for for this manual page on the github organisation, but wasn't able
to find it



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=81081&edit=1


Thread (5 messages)

« previous php.doc.bugs (#18822) next »