php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #75109 VC 15 pecl deps missing
Submitted: 2017-08-23 14:48 UTC Modified: 2017-08-24 22:26 UTC
From: cmb@php.net Assigned:
Status: Not a bug Package: Website problem
PHP Version: Irrelevant OS: Windows
Private report: No CVE-ID: None
 [2017-08-23 14:48 UTC] cmb@php.net
Description:
------------
On http://windows.php.net/downloads/pecl/deps/ prebuilt
dependencies for PECL packages can be found, but it seems the most
recent supported MSVC is 14.

It would be nice to have also prebuilt packages for VC 15 (aka.
Visual Studio 2017).


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-23 14:50 UTC] Wes dot example at example dot org
you can download deps using https://github.com/OSTC/php-sdk-binary-tools and the phpsdk_deps command
 [2017-08-23 15:10 UTC] cmb@php.net
> you can download deps using
> https://github.com/OSTC/php-sdk-binary-tools and the phpsdk_deps
> command

It seems to me that this is only for PHP core depencies, i.e.
for what is available via
<http://windows.php.net/downloads/php-sdk/deps/>.
 [2017-08-23 16:18 UTC] ab@php.net
Thanks for the ping, Christoph. The vc15 runtime is binary compatible to vc14, here is more info https://blogs.msdn.microsoft.com/vcblog/2017/03/07/binary-compatibility-and-pain-free-upgrade-why-moving-to-visual-studio-2017-is-almost-too-easy/ . Since we never link the runtime statically, neither for the core nor elsewhere, using vc14 binaries should be ok in most case.

ATM the prepared PECL snapshots against 7.2 betas use these vc14 deps, while for the core the clean vc15 rebuilds are in place. I was planning some dep rebuilds for PECL, but didn't see it critical as there is the binary compatibility promise allowing to save the rebuild effort for now. There still could be linker issues, which are a different topic. I'd suggest you to take the vc14 PECL bins for both vc14 and vc15 builds, if there are issues - clean vc15 builds can be done. 

Thanks.
 [2017-08-23 17:30 UTC] cmb@php.net
> The vc15 runtime is binary compatible to vc14, […]

Thanks, Anatol, I wasn't aware of this. And indeed, I've just
built the full test suite of external libgd with VC 15 using the
VC14 dependencies (x64 and x86), and everything is working fine.
 [2017-08-24 22:26 UTC] ab@php.net
-Status: Open +Status: Not a bug
 [2017-08-24 22:26 UTC] ab@php.net
Ok, good to know. In fact, we've used vc14 deps for some time already with master before the 7.2 pre cycle start, also without issues. I'm closing this for now. If some vc14 dependency produces issues for PECL, it still can be rebuilt. But otherwise I'd probably defer it as long as possible, so there's more time for other topical things.

Thanks.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Nov 21 04:00:02 2025 UTC