我正在尝试使用Windows Server 2012 R2 x64在IIS上安装PHP 7
Microsoftbuild议您应该使用Web Platform Installer安装PHP。 这样做后,我已经安装了PHP,但我不能运行任何PHP命令,因为我得到的错误

这篇文章build议Visual C++ Redistributable for Visual Studio 2017 (64-bit)安装Visual C++ Redistributable for Visual Studio 2017 (64-bit) ,但是这给了我以下错误。 我已经安装了所有的Windows更新,并试图重新安装好几次。

错误日志说
[13B4:1374][2017-02-08T21:02:40]e000: Error 0x80240017: Failed to execute MSU package. [0E14:1064][2017-02-08T21:02:40]e000: Error 0x80240017: Failed to configure per-machine MSU package. [0E14:1064][2017-02-08T21:02:40]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None [0E14:1064][2017-02-08T21:02:40]e000: Error 0x80240017: Failed to execute MSU package.