简体   繁体   English

在 Windows 10/IIS 10 上使用 Web 平台安装程序安装 PHP 时出错

[英]Error installing PHP using Web Platform Installer on Windows 10/IIS 10

I am trying to install PHP 7.1.1 on Windows 10, IIS 10 , using Web Platform Installer 5.0.我正在尝试使用 Web 平台安装程序 5.0 在 Windows 10、 IIS 10上安装PHP 7.1.1

I am getting an error:我收到一个错误:

PHP 7.1.1 (x64) The product did not install successfully PHP 7.1.1 (x64) 产品安装不成功

Windows Cache Extention and PHP manager for IIS fail too, but I believe it is because of dependency on PHP 7.1.1. IIS 的 Windows 缓存扩展和 PHP 管理器也失败了,但我相信这是因为对 PHP 7.1.1 的依赖。

I have already tried these:我已经尝试过这些:

  1. set this key value to 8:将此键值设置为 8:

    HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters/MajorVersi HKEY_LOCAL_MACHINE/SYSTEM/CurrentControlSet/Services/W3SVC/Parameters/MajorVersi

  2. .Net 3.5 installed and WCF TTP Activation is enabled for .Net Framework 3.已安装 .Net 3.5 并为 .Net Framework 3 启用 WCF TTP 激活。

What's the best way to get the PHP files working on my machine?让 PHP 文件在我的机器上运行的最佳方法是什么?

I ended up installing PHP manually .我最终手动安装了 PHP Web Platform Installer has many problems with PHP installation, and manual installation of PHP was fairly simple. Web Platform Installer 在安装 PHP 时有很多问题,手动安装 PHP 相当简单。

I ran into this same problem.我遇到了同样的问题。 I did the manual install and registered PHP manually.我手动安装并手动注册了 PHP。 However, when I test PHP, it produces a 500 error.但是,当我测试 PHP 时,它会产生 500 错误。 Have not been able to solve this in 3 days of research and trying various things.在研究和尝试各种事情的 3 天内未能解决此问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM