简体   繁体   English

PHP管理器IIS无法安装Windows 10

[英]PHP Manager IIS fails to install Windows 10

I have recently installed windows 10 from windows 8 and i'm trying to get my IIS setup to create a wordpress site. 我最近从Windows 8安装了Windows 10,我正试图让我的IIS设置创建一个wordpress网站。 To be honest i have no idea what any of this means: 说实话,我不知道这意味着什么:

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.

I can only assume that this part CustomAction VSDCA_VsdLaunchConditions returned actual error code 1603 is what is causing me the issue. 我只能假设这部分CustomAction VSDCA​​_VsdLaunchConditions返回实际错误代码1603是导致我的问题。

In which case i've found this https://forums.iis.net/t/1207407.aspx And .net 3.5 is installed and enabled, so i have no idea where to go from here... 在这种情况下,我发现这个https://forums.iis.net/t/1207407.aspx和.net 3.5已安装并启用,所以我不知道从哪里开始......

It looks like the installer is failing when checking the IIS version. 检查IIS版本时,安装程​​序似乎失败了。

The following Microsoft Answers page suggests some registry hacking might solve the problem.. 以下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 http://answers.microsoft.com/en-us/windows/forum/windows_10-other_settings/php-manager-for-iis-on-windows-10/33ef32f0-6a86-4803-abc1-6de81110f9a8

For full reference from the article mentioned in the other answer : 完整参考其他答案中提到的文章:

Change the value of the registry key: 更改注册表项的值:

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

The value is 10 (Ax0). 值为10(Ax0)。 Just change the value to 9 (or 8), then try to install it again. 只需将值更改为9(或8),然后再尝试安装它。 To avoid future issues with other IIS stuff, change back to 10 (Ax0). 为避免将来出现其他IIS问题,请更改回10(Ax0)。 It seems that PHP Manager validates the value...Here is the issue from PHP Manager's website https://phpmanager.codeplex.com/workitem/2653 似乎PHP管理器验证了值...这是来自PHP管理器网站的问题https://phpmanager.codeplex.com/workitem/2653

(via Microsoft Answers page ) (通过Microsoft Answers页面

Currently the installation also fails in case of using the Web Platform Installer because the Codeplex download link used by the Web Platform Installer does not exist anymore. 目前,在使用Web平台安装程序的情况下安装也会失败,因为Web平台安装程序使用的Codeplex下载链接不再存在。

Luckily someone created a GitHub repository to update PHP Manager. 幸运的是,有人创建了一个GitHub存储库来更新PHP Manager。 The repository provides some new releases witch should work without the registry hack. 存储库提供了一些新的版本,应该在没有注册表黑客的情况下工作。

The MSI installer can be downloaded here: https://github.com/RonaldCarter/PHPManager/releases 可以在此处下载MSI安装程序: https//github.com/RonaldCarter/PHPManager/releases

On Windows Server 2012 R2 none of the Web Platform Installers worked for me. 在Windows Server 2012 R2上,没有任何Web平台安装程序为我工作。 They either threw errors during the installation or they installed obsolete versions of PHP with no native drivers for connecting to the MySql server. 他们要么在安装过程中抛出错误,要么安装过时的PHP版本,没有用于连接到MySql服务器的本机驱动程序。 What worked for me was installing PHP Manager here from MS and then pointing it to php-cgi.exe contained in the folder of PHP 7.0 which I downloaded here from sourceforge. 什么工作对我来说是安装PHP经理这里从MS,然后将其指向包含我下载了PHP 7.0的文件夹中名为php-cgi.exe 这里从SourceForge。

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

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