(转)遭遇PHP has encountered an Access Violation
2007-12-15 17:14
531 查看
调试全文检索博客的时候突然间看到前台留言处出现了“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的搭配不是很好,这个如果是虚拟主机的话就比较麻烦,没办法换个版本来测试,:)
//Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
●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的搭配不是很好,这个如果是虚拟主机的话就比较麻烦,没办法换个版本来测试,:)
//Sys.WebForms.PageRequestManager.getInstance()._updateControls(['tAjaxHolder$UpdatePanel1'], [], [], 90);
//]]>
相关文章推荐
- (转)遭遇PHP has encountered an Access Violation
- (转)遭遇PHP has encountered an Access Violation
- PHP has encountered an Access Violation at 7C94BD02解决方法
- PHP has encountered an Access Violation at 7C94BD02解决方法
- PHP has encountered an Access Violation at 01FF0AFD
- PHP has encountered an Access Violation 错误的解决方法
- PHP has encountered an Access Violation at 7C94BD02 问题解决
- PHP has encountered an Access Violation at xxxx解决方法之一
- PHP has encountered an Access Violation
- PHP has encountered an Access Violation at 01D1E4E6
- 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 *** 的问题
- PHP has encountered an Access Violation at
- PHP has encountered an Access Violation at XX的解决办法
- PHP has encountered an Access Violation at
- PHP has encountered an Access Violation 错误的解决方法
- 显示PHP has encountered an Access Violation at XXXXXX
- PHP has encountered an Access Violation at