PHP管理器IIS无法安装Windows 10

时间:2016-05-02 15:22:32

标签: php iis windows-10 php-manager

我最近从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 个答案:

答案 0 :(得分: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

答案 1 :(得分:5)

完整参考文章mentioned in the other answer

更改注册表项的值:

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

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

的问题

(通过Microsoft Answers page

答案 2 :(得分:0)

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

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

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

答案 3 :(得分:0)

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