vcruntime140.dll 14.0与PHP版本不兼容

问题描述 投票:1回答:1

我已经在Windows Server 2016计算机上下载了PHP 7.4.1 NTS vc15 x86。我还下载并安装了vc_redist.x86.exe

当我尝试从命令提示符下运行php-cgi时,出现以下错误:

PHP警告:“ vcruntime140.dll” 14.0与该PHP不兼容与未知行中的14.16链接的内部版本0

关于如何解决此问题的任何想法?我想我可以从档案中安装旧版本的PHP,但这并不能真正解决问题。

php windows-server-2016 vcredist
1个回答
2
投票

结果PHP 7.4.x需要用于Visual Studio 2019的Microsoft Visual C ++ Redistributable,可在此处下载:

https://visualstudio.microsoft.com/downloads/

然后向下滚动到其他工具和框架

© www.soinside.com 2019 - 2024. All rights reserved.