【问题标题】:PHP7 and IIS8 HTTP Error 500.0 - The FastCGI process exited unexpectedlyPHP7 和 IIS8 HTTP 错误 500.0 - FastCGI 进程意外退出
【发布时间】:2016-03-18 15:02:46
【问题描述】:

在 Windows Server 2012 上,我运行的是 IIS 8 和 PHP 7.04。我收到以下错误:

HTTP 错误 500.0 - 内部服务器错误 C:\php\php-cgi.exe - FastCGI 进程意外退出

当我从命令行运行以下命令时:

c:\php\php.exe phpinfo()

我收到以下错误:

程序无法启动,因为您的计算机中缺少 VCRUNTIME140.dll。尝试重新安装程序来解决这个问题。

我已经从 MS (vc_redist.x64.exe) 安装了 Visual C++ Redistributable 2015。看起来 VCRUNTIME140.dll 放在 C:\Windows\System32 中。

我是否缺少 PHP 路径或环境变量?

【问题讨论】:

    标签: c++ windows-server-2012 iis-8 php-7


    【解决方案1】:

    解决方案是安装 32 位版本的 Visual C++ Redistributable 2015 (VC_redist.x86.exe)。感谢这里的提示: https://github.com/cmderdev/cmder/issues/482

    【讨论】:

      猜你喜欢
      • 2020-07-18
      • 2014-05-25
      • 2021-10-08
      • 2020-05-19
      • 2017-08-02
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2012-08-13
      相关资源
      最近更新 更多