[英]IIS and Web.Management.PHP
无法使用iisreset,因为使用后,我得到了类似以下内容:
Attempting stop...
Internet services successfully stopped
Attempting start...
Restart attempt failed.
The service did not respond to the start or control request in a timely fashion. (2147943453, 8007041d)
在事件查看器中,我得到了以下事件:
IISMANAGER_ERROR_LOADING_PROVIDER_TYPE
IIS Manager could not load type 'Web.Management.PHP.PHPProvider, Web.Management.PHP, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8175de49a9aec91d' for module provider 'PHP' that is declared in %windir%\system32\inetsrv\config\administration.config. Verify that the type is correct, and that the assembly that contains the module provider is in the Global Assembly Cache (GAC).
Exception:System.IO.FileNotFoundException: Could not load file or assembly 'Web.Management.PHP, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8175de49a9aec91d' or one of its dependencies. The system cannot find the file specified.
File name: 'Web.Management.PHP, Version=1.2.0.0, Culture=neutral, PublicKeyToken=8175de49a9aec91d'
at System.RuntimeTypeHandle._GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, Boolean loadTypeFromPartialName)
at System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.RuntimeType.PrivateGetType(String typeName, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark)
at System.Type.GetType(String typeName, Boolean throwOnError)
at Microsoft.Web.Management.Server.AdministrationModuleProvider.GetModuleProvider(String userName, String connectionName)
WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].
Process:InetMgr
Connection:computer\admin
我打开%windir%\\system32\\inetsrv\\config\\administration.config
但未找到任何内容,包括php
或Web.Management.PHP.PHPProvider
或与php相关的任何内容
使IIS恢复工作的唯一方法是重新启动服务器
(摘自评论。)
遗憾的是这样的问题,是由微软的补丁七月引起的,在过去的几天里曾经在其他地方所讨论的互联网,如本 。
您需要卸载相关的修补程序才能恢复服务,然后通读更新的知识库文章以查看解决此问题所需的其他修补程序或过程。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.