(转)遭遇PHP has encountered an Access Violation
来源:互联网 发布:ecs windows 编辑:程序博客网 时间:2024/05/01 20:23
调试全文检索博客的时候突然间看到前台留言处出现了“PHP has encountered an Access Violation at 02B75679“这样的一句话,赶紧google了一下,据说http://bugs.php.net/上也能找到好几千页的关于这个问题的报告/讨论了,总结了一下,大致有这么七种会引起发生这个问题的可能性
●1,是否zend所需的dll文件所在目录给的权限不够,必须有读取和运行的权限
● 2,是否使用的2003,设置过应用池,比如池中限制了什么什么,调整一下再试试看,是否好了
● 3,去掉 php中 eaccelerator 的扩展,这样做能够解决问题,不过可能会加重系统负担,找到找到php.ini,去掉类 似于这样的行
zend_extension_ts=”C:/php/extensions/eaccelerator_win_xxx.dll”
eaccelerator.shm_size=”16″
eaccelerator.cache_dir=”c:/temp”
eaccelerator.enable=”1″
eaccelerator.optimizer=”1″
eaccelerator.check_mtime=”1″
eaccelerator.debug=”0″
eaccelerator.filter=”"
eaccelerator.shm_max=”0″
eaccelerator.shm_ttl=”0″
eaccelerator.shm_prune_period=”0″
eaccelerator.shm_only=”0″
eaccelerator.compress=”1″
eaccelerator.compress_level=”9″
● 4,session_save_path 需要设定一个实际的物理路径,并且该目录需要everyone的所有权限,类似Linux/Unix主机的0777权限
● 5,c:/winnt/temp 或者 c:/windows/temp,也需要everyone的所有权限,类似Linux/Unix主机的0777
● 6,本身内存不足,自己的主机的话容易解决,加一块内存就OK了
● 7,ZendOptimizer和php的搭配不是很好,这个如果是虚拟主机的话就比较麻烦,没办法换个版本来测试,:)
●1,是否zend所需的dll文件所在目录给的权限不够,必须有读取和运行的权限
● 2,是否使用的2003,设置过应用池,比如池中限制了什么什么,调整一下再试试看,是否好了
● 3,去掉 php中 eaccelerator 的扩展,这样做能够解决问题,不过可能会加重系统负担,找到找到php.ini,去掉类 似于这样的行
zend_extension_ts=”C:/php/extensions/eaccelerator_win_xxx.dll”
eaccelerator.shm_size=”16″
eaccelerator.cache_dir=”c:/temp”
eaccelerator.enable=”1″
eaccelerator.optimizer=”1″
eaccelerator.check_mtime=”1″
eaccelerator.debug=”0″
eaccelerator.filter=”"
eaccelerator.shm_max=”0″
eaccelerator.shm_ttl=”0″
eaccelerator.shm_prune_period=”0″
eaccelerator.shm_only=”0″
eaccelerator.compress=”1″
eaccelerator.compress_level=”9″
● 4,session_save_path 需要设定一个实际的物理路径,并且该目录需要everyone的所有权限,类似Linux/Unix主机的0777权限
● 5,c:/winnt/temp 或者 c:/windows/temp,也需要everyone的所有权限,类似Linux/Unix主机的0777
● 6,本身内存不足,自己的主机的话容易解决,加一块内存就OK了
● 7,ZendOptimizer和php的搭配不是很好,这个如果是虚拟主机的话就比较麻烦,没办法换个版本来测试,:)
- (转)遭遇PHP has encountered an Access Violation
- (转)遭遇PHP has encountered an Access Violation
- PHP has encountered an Access Violation at
- PHP has encountered an Access Violation at xxxx解决方法之一
- 原创解决: PHP has encountered an Access Violation
- 关于PHP has encountered an Access Violation问题的处理
- PHP has encountered an Access Violation at 01FF0AFD
- PHP has encountered an Access Violation问题的解决方法总结
- PHP has encountered an Access Violation at *** 的问题
- PHP has encountered an Access Violation at XX的解决办法
- PHP has encountered an Access Violation at xxx 的解决办法
- PHP has encountered an Access Violation解决方法总结
- PHP has encountered an Access Violation at 01FF0AFD
- PHP has encountered an Access Violation at xxxx
- 全新解决:PHP has encountered an Access Violation Kevin Zhou 发表于 2008-10-13 10:37:00
- [Flex Bug]RemoteObject无法刷新, PHP报'ServiceRefreshJob' has encountered an error
- The server has encountered an error -解决方法
- IIS的The server has encountered an error -解决方法
- (转)SQL Server高可用性部署实施
- asp.net 2.0 技巧2
- asp.net 2.0常见问题技巧1
- asp.net 2.0中显示主从关系另一个方法
- TOMCAT 5的一些优化笔记
- (转)遭遇PHP has encountered an Access Violation
- 策略模式笔记
- 数据调优好的文章收集1
- SCA学习之2--SCA中使用SPRING笔记
- sql 2005学习笔记1
- mysql 5中遭遇data too long问题
- SVN的安装笔记和要注意的问题
- tomcat 5.5下的一个要注意的问题
- structs 2中的一个要注意的地方