MySQL社区

 找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

搜索
查看: 6441|回复: 2
打印 上一主题 下一主题

IIS6中安装[php-5.2.5-win32-installer]的问题

[复制链接]
跳转到指定楼层
1#
发表于 2007-12-12 10:46:49 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
一开始能用,没多久就不能用了,在IIS中查看日志发现是500错误,没有更为具体的其它信息,IIS不定时的,时常跳出下面的对话框。

IIS6+PHP5.JPG (15.95 KB, 下载次数: 86)

IIS6+PHP5.JPG
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 分享淘帖 顶 踩
2#
发表于 2007-12-12 12:21:18 | 只看该作者
Memory问题?

是不是运行了一段时间后,删除了什么程序或文件呀...,我觉得是个综合问题,重装下试试
3#
发表于 2008-1-18 10:14:48 | 只看该作者
基本属于bug。。。。下面的仅供参考,来自msdn和一些网站,:
Just a quick heads up to anyone who suddenly starts getting the following error on a DC running ASP.NET after applying the latest batch of patches.
+-+-+-+-+-+-+
Application popup: w3wp.exe - Application Error : The instruction at "0x001f0001" referenced memory at "0x800703e3". The memory could not be "written".
+-+-+-+-+-+-+

It seems that MS06-034 or MS06-033 removes the following fix (just a permission change)
Stephen.

------------------------------------------------------------------------
ACTION
You operate a production Windows Server 2003 web server hosting a number of ASP.NET applications. The server is also a domain controller.
RESULT
When shutting down application pools hosting ASP.NET 2.0 applications the application pool crashed.
CAUSE
This is due to a bug in ASP.NET whereby it incorrectly handles the situation where it is denied access to a registry key associated with the ASP.NET performance counters.
RESOLUTION
The registry key in question is:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\Names
When ASP.NET 2.0 is installed the local group IIS_WPG is given special permissions on this key. When the server is a domain controller the IIS_WPG group becomes a domain group (there are no local groups on domain controllers) and the NETWORK SERVICE account cannot be a member of it as it is a BUILTIN account.
Therefore the NETWORK SERVICE account, under which an application pool runs by default, loses its access to this key.
To resolve the problem you had to give the NETWORK SERVICE account specific permissions to that key as follows:
Start Regedit and navigate to that key.
Right-click "Names" and select Permissions on the context menu.
Click Add and enter NETWORK SERVICE, click "Check Names" and click Ok.
With NETWORK SERVICE highlighed in the "Groups or User Names" list click "Advanced"
On the "Advanced Security Settings for Names" dialogue highlight NETWORK SERVICE and click "Edit"
In the "Permission entry for Names" dialogue check the "Name" box is showing "NETWORK SERVICE" and put check marks against "Query Value", "Set Value", "Create Subkey", "Enumerate Subkeys", "Notify" and "Read Control".
Click Ok on all the dialogues and close regedit.

If you are using Network Service to run your sight you might get this error " Application pop-up: w3wp.exe - Application Error : The instruction at "0x73585d55" referenced memory at "0x00000018". The memory could not be "read"."
or an error similar to it. This is caused when the .NET\Framework\<version #>\webengine.dll crashes. This is do to the fact that The Network Service does not have special permissions to .net registry settings. Please do the following steps to fix the problem:
Navagate to
1.HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ASP.NET_2.0.50727\Names (or whatever version of .NEt framework you have.
2.Start Regedit and navigate to that key.
Right-click "Names" and select Permissions on the context menu.
Click Add and enter NETWORK SERVICE, click "Check Names" and click "Ok".
With NETWORK SERVICE highlighed in the "Groups or User Names" list click "Advanced"
On the "Advanced Security Settings for Names" dialogue highlight NETWORK SERVICE and click "Edit"
In the "Permission entry for Names" dialogue check the "Name" box is showing "NETWORK SERVICE" and put check marks against "Query Value", "Set Value", "Create Subkey", "Enumerate Subkeys", "Notify" and "Read Control".
Click Ok on all the dialogues and close regedit.

Ensure your application pools are reconfigured to run as NETWORK SERVICE (or at least all the ones you want to be) and restart them

On subsequent restarts the w3wp.exe crash should not occur.

-Hope this works for you
另外可以参考:
http://support.microsoft.com/kb/921065/en-us

[ 本帖最后由 boxman 于 2008-1-18 10:33 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则

QQ|申请友链|小黑屋|Archiver|手机版|MySQL社区 ( 京ICP备07012489号   
联系人:周生; 联系电话:13911732319

GMT+8, 2024-5-6 12:03 , Processed in 0.077328 second(s), 26 queries , Gzip On.

Powered by Discuz! X3.2

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表