Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:106853 Return-Path: Delivered-To: mailing list internals@lists.php.net Received: (qmail 11335 invoked from network); 4 Sep 2019 15:49:18 -0000 Received: from unknown (HELO v-smtpout2.han.skanova.net) (81.236.60.155) by pb1.pair.com with SMTP; 4 Sep 2019 15:49:18 -0000 Received: from [192.168.8.4] ([84.55.126.158]) by cmsmtp with ESMTPA id 5VFgioRUVUYHf5VFgiTbxX; Wed, 04 Sep 2019 15:23:12 +0200 To: "Christoph M. Becker" References: <095c8956-3c52-e144-b1b9-c415ff107f39@gmx.de> Cc: PHP internals Message-ID: <70cfd1f8-ec4d-f408-8be8-f43e2b6cec35@telia.com> Date: Wed, 4 Sep 2019 15:23:13 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: <095c8956-3c52-e144-b1b9-c415ff107f39@gmx.de> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-GB X-CMAE-Envelope: MS4wfCUutv/SYtwqbTgYCC08OT/iRTS7mYdC2EZXMo3OdyT9zMgKLbOv1AkUq8ggnZ8GelGdWxfbCLrob0k4diDkTspt1zQ2hzV7eBCr78crJKHhdVIgEXI7 MVkeaPIB/0mIE1cgu4abfk0pGTvCDj3PmReTw/dS73nrZWb8fUaeKCup8+dxIKuezyAycYTvFO4qQ3LSxAlq7cQthUPmf4hdRWA= Subject: Re: [PHP-DEV] Windows builds of PHP 7.4+ use Visual Studio 2019 From: bjorn.x.larsson@telia.com (=?UTF-8?Q?Bj=c3=b6rn_Larsson?=) Den 2019-06-06 kl. 14:11, skrev Christoph M. Becker: > Hi, > > I like to inform you, that the official Windows builds of PHP 7.4 and > master (available from windows.php.net; currently only snapshot builds, > of course) are done with Visual Studio 2019. While it is still possible > to build these PHP versions with Visual Studio 2017, this is no longer > tested. > > This also means a small but important change, namely that we are no > longer using the "vc" prefix (e.g. "vc14", "vc15") to refer to *new* > Visual Studio versions, but rather "vs" (i.e. "vs16"). The detailed > reasoning is explained in the post titled "Visual Studio 2019 > Builds"[1]. Recent beta versions of the PHP SDK are supposed to fully > support this naming change already (and particularly the renaming of the > PHP_SDK_VC environment variable to PHP_SDK_VS). You may have to adapt > custom tooling accordingly, though. > > Thanks, > Christoph > > [1] Hi, This is a welcome change. For beta 3 and earlier I got the error message: $ php -v PHP Warning:  'vcruntime140.dll' 14.11 is not compatible with this PHP build linked with 14.21 in Unknown on line 0 Now it works out of the box on my win 8.1 machien! $ php -v PHP 7.4.0-dev (cli) (built: Sep  4 2019 09:49:12) ( NTS Visual C++ 2017 x64 ) Copyright (c) The PHP Group Zend Engine v3.4.0-dev, Copyright (c) Zend Technologies r//Björn L