运行环境:Windows2016数据中心x64 + IIS10 + PHP7.4.3
网页访问php文件显示:The FastCGI process exited unexpectedly
错误代码:0xffffffff
运行php-cgi.exe提示"丟失VCRUNTIME140.dll"
安装Microsoft Visual C++2015 Redistributable,还是不行
命令行运行php -v,提示:PHP Warning: ‘vcruntime140.dll’ 14.0 is not compatible with this PHP build linked with 14.16 in Unknown on line 0
看来是运行库版本的问题,然后安装了Microsoft Visual C++ 2015-2019 Redistributable 14.22
OK
本文详细记录了解决在Windows2016数据中心环境下,使用IIS10和PHP7.4.3时遇到的'TheFastCGIprocessexitedunexpectedly'错误及'丢失VCRUNTIME140.dll'问题的过程。通过分析发现,此问题源于运行库版本不匹配,最终通过安装MicrosoftVisualC++2015-2019Redistributable14.22解决了该问题。
3784

被折叠的 条评论
为什么被折叠?



