ZendOptimizer报错ID( 487 )

[php] 2024-05-04 圈点873

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

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

google搜索到的N种可能及解决方法


网上的方法:
1,修改C:\WINDOWS\Temp\目录的访问权限,使Zend可以对目录进行修改添加IIS_WPG和Network Service的写入权限
测试后无效

2,从新从官方下载了3.3版本的Zend Optimizer重新安装配置,结果测试后无效

3,也看到说要php_yaz.dll,难道Zend Optimizer里面有用到yaz的函数,~~测试后无效。

4,很多出现问题的情况都说权限问题~~2003的权限的确是容易出问题~~比如说建立web访问帐号时如果不把文件夹加入user权限有时就会出错~~
加everyone和IWAM_COMPUTER,IUSR_COMPUTER,IIS_WPG,Users权限都加上进行测试~还是有错。

在 Zend Optimizer官方看了下~~上面有一段说明
 
The Zend Optimizer will not run if the following PHP settings are enabled:
1. Debug Mode - Check that your PHP was compiled in non-debug mode -
    This can be checked by looking at the top part of the phpinfo() function output and checking "Debug Build" row (ZEND_DEBUG in older PHP versions) - it should say "no".
2. Thread Safety -
    Check that your PHP was compiled in ZTS mode for Windows.
    This can be checked by looking at the top part of the phpinfo() function and checking "Thread Safety" row - it should say "enabled" for Windows.
3. Enable Versioning -
    Check that your PHP was compiled without the Enable Versioning setting.
    This can be checked by looking at the top part of the phpinfo() function and checking to see if a row called "--enable-versioning" exists in the Configure Command section - if it does exists the PHP should be compiled without this option.
这里既然说明线程安全设置会影响ZendOptimizer的工作~~那么应该就是这方面的问题。
决定更换成FastCGI模式,更换后重启iis没有报错~~
检查日志~~ZendOptimizer工作良好~~日志没有报警~~ 487错误不再出现


ZendOptimizer  487  

感谢反馈,已提交成功,审核后即会显示