windows2003+IIS+php+zend,程序日志报错 Unable to view file mapping

描述:
事件 ID ( 487 )的描述(在资源( Zend Optimizer )中)无法找到。本地计算机可能没有必要的注册信息或消息 DLL 文件来从远程计算机显示消息。您可能可以使用 /AUXSOURCE= 标识来检索词描述;查看帮助和支持以了解详细信息。下列信息是事件的一部分: Unable to view file mapping, 试图访问无效的地址.

Getting error “Unable to view file mapping in Unknown on line 0” in PHP error log under win2003

From http://www.nrgglobal.com/products/faq_index.php
Quote:
Q: What does the following error in my windows eventlog mean –
The description for Event ID ( 487 ) in Source ( Zend Optimizer ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Unable to view file mapping, Attempt to access invalid address.

A: This means Optimizer can’t set up the shared memory. you need to clean your windows temp dir, ensure that everybody has access to it, and remove ZendOptimizer files from there, then restart the webserver. Alternatively, you can just ignore it – shared memory is used only for limited-user scripts, so if you don’t run those, Optimizer is OK without it.

就是修改c:\WINDOWS\temp\目录的访问权限,使Zend可以对目录进行修改

还有一条就是找不到ZendOptimizer.MemoryBase@SYSTEM文件吧,方法同上面,在c:\WINDOWS\temp\建一空文件,文件名ZendOptimizer.MemoryBase@SYSTEM即可
问题解决

windows2003+IIS+php+zend,程序日志报错 Unable to view file mapping》有1个想法

发表评论

您的电子邮箱地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据