Zend Optimizer 487错误 (问题解决-结贴)

来源:互联网 发布:荣格集体无意识 知乎 编辑:程序博客网 时间:2024/05/12 11:20
昨天上服务器看了下
发现Zend Optimizer报错~~
事件 ID ( 487 )的描述(在资源( Zend Optimizer )中)无法找到。本地计算机可能没有必要的注册信息或消息 DLL 文件来从远程计算机显示消息。您可能可以使用 /AUXSOURCE= 标识来检索词描述;查看帮助和支持以了解详细信息。下列信息是事件的一部分: Unable to view file mapping, 试图访问无效的地址。

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

看了看之后

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

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

又看到说要php_yaz.dll,难道Zend Optimizer里面有用到yaz的函数,这个真不知道,~~哭测试后无效


错误继续出现~~有的说要以iis5隔离模式运行~~尴尬

想了想~~出现问题的都说权限问题~~2003的权限的确是容易出问题~~比如说建立web访问帐号时如果不把文件夹加入user权限有时就会出错~~
难道还是权限的问题
可是everyone的权限都加上了为啥还不行呢
一想 索性IWAM_COMPUTER,IUSR_COMPUTER,IIS_WPG,Users权限都加上进行测试~~

测试到现在2个小时了~~目前为止还没报错~~晚上再看看~~


7-23号

今天上服务器一看~~又报错了~~难道是线程安全的问题

去 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模式~~顺便把php升级到5.2.5~~

更换后重启iis没有报错~~等明天再看

7-25号

再次检查日志~~ZendOptimizer工作良好~~日志没有报警~~ 487错误不再出现

结贴各位有什么其他好的方法可以交流下jackqn@msn.com