7

我最近从 Windows 8 安装了 Windows 10,我正在尝试让我的 IIS 设置来创建一个 wordpress 站点。老实说,我不知道这意味着什么:

MSI (s) (F8:A0) [16:13:26:773]: Skipping action: ERRCA_CANCELNEWERVERSION (condition is false)
MSI (s) (F8:A0) [16:13:26:773]: Doing action: VSDCA_VsdLaunchConditions
Action ended 16:13:26: FindRelatedProducts. Return value 1.
MSI (s) (F8:A0) [16:13:26:774]: Note: 1: 2235 2:  3: ExtendedType 4:    SELECT `Action`,`Type`,`Source`,`Target`, NULL, `ExtendedType` FROM `CustomAction` WHERE `Action` = 'VSDCA_VsdLaunchConditions' 
MSI (s) (F8:E8) [16:13:26:776]: Invoking remote custom action. DLL: C:\WINDOWS\Installer\MSI5B2B.tmp, Entrypoint: VsdLaunchConditions
Action start 16:13:26: VSDCA_VsdLaunchConditions.
INFO   : [05/02/2016 16:13:26:778] [VsdLaunchConditions                     ]: Custom Action is starting...
INFO   : [05/02/2016 16:13:26:778] [VsdLaunchConditions                     ]: CoInitializeEx - COM initialization Apartment Threaded...
INFO   : [05/02/2016 16:13:26:779] [VsdLaunchConditions                     ]: Enumerating table using SQL statement: 'SELECT * FROM `_VsdLaunchCondition`'
INFO   : [05/02/2016 16:13:26:780] [VsdLaunchConditions                     ]: Calling MsiGetActiveDatabase...
INFO   : [05/02/2016 16:13:26:781] [VsdLaunchConditions                     ]: MsiDatabaseOpenViewW - Prepare Database to view table...
INFO   : [05/02/2016 16:13:26:781] [VsdLaunchConditions                     ]: TMsiViewExecute - Open Database view on table...
INFO   : [05/02/2016 16:13:26:782] [VsdLaunchConditions                     ]: Checking a launch condition...
INFO   : [05/02/2016 16:13:26:782] [VsdLaunchConditions                     ]: Getting the condition to evaluate...
INFO   : [05/02/2016 16:13:26:782] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Fetching value...
INFO   : [05/02/2016 16:13:26:783] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Getting value from column '1'...
INFO   : [05/02/2016 16:13:26:783] [VsdLaunchConditions                     ]: Evaluating condition 'VersionNT64'...
INFO   : [05/02/2016 16:13:26:784] [VsdLaunchConditions                     ]: RESULT:  Condition is true. Nothing more to do.
INFO   : [05/02/2016 16:13:26:785] [VsdLaunchConditions                     ]: Checking a launch condition...
INFO   : [05/02/2016 16:13:26:785] [VsdLaunchConditions                     ]: Getting the condition to evaluate...
INFO   : [05/02/2016 16:13:26:785] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Fetching value...
INFO   : [05/02/2016 16:13:26:786] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Getting value from column '1'...
INFO   : [05/02/2016 16:13:26:786] [VsdLaunchConditions                     ]: Evaluating condition 'IISREGISTRYVALUE >= "#7"'...
INFO   : [05/02/2016 16:13:26:787] [VsdLaunchConditions                     ]: RESULT:  Condition is false.
INFO   : [05/02/2016 16:13:26:787] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Fetching value...
INFO   : [05/02/2016 16:13:26:787] [VsdLaunchConditions                     ]: MsiRecordGetStringW - Getting value from column '2'...
INFO   : [05/02/2016 16:13:26:788] [VsdLaunchConditions                     ]: MsiSetPropertyW - Setting Property Value...
MSI (s) (F8!14) [16:13:26:789]: PROPERTY CHANGE: Adding HideFatalErrorForm property. Its value is 'TRUE'.
INFO   : [05/02/2016 16:13:26:789] [VsdLaunchConditions                     ]: MsiSetPropertyW - Setting property 'HideFatalErrorForm' to 'TRUE'.
INFO   : [05/02/2016 16:13:26:789] [VsdLaunchConditions                     ]: Checking a launch condition...
INFO   : [05/02/2016 16:13:26:790] [VsdLaunchConditions                     ]: A launch condition has already fired. My work is done here.
ERROR  : [05/02/2016 16:13:26:790] [VsdLaunchConditions                     ]: Custom Action failed with code: '1603'
INFO   : [05/02/2016 16:13:26:791] [VsdLaunchConditions                     ]: Custom Action completed with return code: '1603'
CustomAction VSDCA_VsdLaunchConditions returned actual error code 1603 (note this may not be 100% accurate if translation happened inside sandbox)
Action ended 16:13:26: VSDCA_VsdLaunchConditions. Return value 3.
Action ended 16:13:26: INSTALL. Return value 3.
 MSI (s) (F8:A0) [16:13:26:794]: Note: 1: 1708 
 MSI (s) (F8:A0) [16:13:26:794]: Product: PHP Manager 1.2 for IIS 7 -- Installation failed.

MSI (s) (F8:A0) [16:13:26:794]: Windows Installer installed the product. Product Name: PHP Manager 1.2 for IIS 7. Product Version: 1.2.0. Product Language: 1033. Manufacturer: . Installation success or error status: 1603.

 MSI (s) (F8:A0) [16:13:26:796]: Deferring clean up of packages/files, if any exist
 MSI (s) (F8:A0) [16:13:26:796]: MainEngineThread is returning 1603
 MSI (s) (F8:98) [16:13:26:798]: RESTART MANAGER: Session closed.
 MSI (s) (F8:98) [16:13:26:798]: No System Restore sequence number for this installation.

我只能假设这部分 CustomAction VSDCA​​_VsdLaunchConditions 返回的实际错误代码 1603 是导致我出现问题的原因。

在这种情况下,我发现了这个https://forums.iis.net/t/1207407.aspx 并且 .net 3.5 已安装并启用,所以我不知道从这里去哪里......

4

4 回答 4

13

检查 IIS 版本时,安装程​​序似乎失败了。

以下 Microsoft Answers 页面建议某些注册表黑客行为可能会解决问题。

http://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/php-manager-for-iis-on-windows-10/33ef32f0-6a86-4803-abc1-6de81110f9a8

于 2016-05-02T15:27:58.680 回答
5

有关其他答案中提到的文章的完整参考:

更改注册表项的值:

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\W3SVC\Parameters\MajorVersion

该值为 10 (Ax0)。只需将值更改为 9(或 8),然后再次尝试安装。为避免将来出现其他 IIS 问题,请改回 10 (Ax0)。似乎 PHP 管理器验证了该值...这是 PHP 管理器网站https://phpmanager.codeplex.com/workitem/2653的问题

(通过Microsoft Answers 页面

于 2016-12-13T11:25:06.890 回答
0

目前,如果使用 Web 平台安装程序,安装也会失败,因为 Web 平台安装程序使用的 Codeplex 下载链接不再存在。

幸运的是,有人创建了一个GitHub 存储库来更新 PHP Manager。该存储库提供了一些新版本,它们应该可以在没有注册表黑客的情况下工作。

MSI 安装程序可以在这里下载: https ://github.com/RonaldCarter/PHPManager/releases

于 2018-05-01T20:52:23.780 回答
0

在 Windows Server 2012 R2 上,没有一个 Web 平台安装程序对我有用。他们要么在安装过程中抛出错误,要么安装了过时的 PHP 版本,没有用于连接到 MySql 服务器的本机驱动程序。对我有用的是在此处从 MS 安装 PHP Manager,然后将其指向包含在 PHP 7.0 文件夹中的 php-cgi.exe,我从 sourceforge下载了该文件夹。

于 2018-11-29T14:20:19.387 回答