PHP 管理器 - 下载的文件未能通过签名验证
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/48604516/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
PHP Manager - Downloaded file failed signature verification
提问by Mr Slim
What I am trying to do
我想做什么
I am trying to install PHP, including PHP manager for Windows Server 2016 via Web platform installer running as a VM under Hyper-V but am receiving an error with the installation of the PHP Manager for IIS.
我正在尝试通过在 Hyper-V 下作为 VM 运行的 Web 平台安装程序安装 PHP,包括适用于 Windows Server 2016 的 PHP 管理器,但在安装适用于 IIS 的 PHP 管理器时收到错误。
Error Message
错误信息
PHP Manager for IIS This product did not install successfully. Downloaded file failed signature verification and may have been tampered with
PHP Manager for IIS 此产品未成功安装。下载的文件签名验证失败,可能被篡改
Screenshot
截屏
Prerequisite Steps Performed
执行的先决条件步骤
Taking checkpoints along the way :-
沿途检查站:-
- Installed Windows Server 2016
- Installed IIS with .net 3.5 and CGI
- Installed Web Platform Installer 5.0
- Applied latest windows updates
- Turned off windows firewall
- Turned off windows defender
- Updated HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp MajorVersion to 8 from 10
- Updated HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\W3SVC\Paremeters MajorVersion to 8 from 10
- Ran Web Platform installer and under Products -> Frameworks selected PHP 7.1.7(x64) pressed ADD and then clicked Install
- 已安装的 Windows Server 2016
- 使用 .net 3.5 和 CGI 安装 IIS
- 已安装的 Web 平台安装程序 5.0
- 应用最新的 Windows 更新
- 关闭windows防火墙
- 关闭 Windows Defender
- 将 HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp MajorVersion 从 10 更新为 8
- 将 HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\W3SVC\Parremeters MajorVersion 从 10 更新为 8
- Ran Web Platform installer 在 Products -> Frameworks 下选择 PHP 7.1.7(x64) 按下 ADD 然后点击 Install
Additional
额外的
I have been trying to locate installation binaries .msi or .exe for PHP Manager 1.2 (x64). I found an x32 version but cannot install this on a x64 OS.
我一直在尝试为 PHP Manager 1.2 (x64) 找到安装二进制文件 .msi 或 .exe。我找到了 x32 版本,但无法在 x64 操作系统上安装它。
Almost every link for PHP Manager points to
PHP Manager 的几乎每个链接都指向
http://phpmanager.codeplex.com/releases/
http://phpmanager.codeplex.com/releases/
but all traffic appears to end up here
但所有的流量似乎都在这里结束
https://archive.codeplex.com/?p=phpmanager
https://archive.codeplex.com/?p=phpmanager
If anyone has any ideas please let me know!
如果有人有任何想法,请告诉我!
回答by Mr Slim
After watching this video "How To Install PHP Manager On Windows Server 2016 And Windows 10" https://www.youtube.com/watch?v=_-4klYZi-CM
观看此视频“如何在 Windows Server 2016 和 Windows 10 上安装 PHP 管理器”后https://www.youtube.com/watch?v=_-4klYZi-CM
I was able to deduce the filename of an MSI file which gave me more options to search by.
我能够推断出 MSI 文件的文件名,这为我提供了更多搜索选项。
I found a GitHub site https://github.com/edgardo001/PHPManagerForIIS-Versioneswhich contains install files for versions
我找到了一个 GitHub 站点https://github.com/edgardo001/PHPManagerForIIS-Versiones,其中包含版本的安装文件
- PHPManagerForIIS-1.2.0-x64 - IIS 7.msi
- PHPManagerForIIS-1.2.0-x86 - IIS 7.msi
- PHPManagerForIIS-1.3.0-x64 - IIS 8.msi
- PHPManagerForIIS-1.4.0-x64 - IIS 10.msi
- PHPManagerForIIS-1.2.0-x64 - IIS 7.msi
- PHPManagerForIIS-1.2.0-x86 - IIS 7.msi
- PHPManagerForIIS-1.3.0-x64 - IIS 8.msi
- PHPManagerForIIS-1.4.0-x64 - IIS 10.msi
I was able to successfully install 1.4 (x64)
我能够成功安装 1.4 (x64)
回答by xtnsele
Installing PHPManagerForIIS-1.3.0-x64 - IIS 8.msi as suggested by @MrSlim worked for me since i had IIS 8 running
安装 PHPManagerForIIS-1.3.0-x64 - IIS 8.msi 按照@MrSlim 的建议为我工作,因为我运行了 IIS 8
回答by codr
In File Explorer, in "View" tab is "File name extensions" checked? (this fixed it for me... my "index.php" was actually "index.php.txt" but didn't see the ".txt" until that view option on... so simple haha)
在文件资源管理器中,在“查看”选项卡中是否选中了“文件扩展名”?(这为我修复了它......我的“index.php”实际上是“index.php.txt”但直到那个视图选项打开时才看到“.txt”......太简单了哈哈)