ZendDebug能正常启动但是每次在Eclipse中使用ZendDebug调试的时候,apache会崩溃,弹出一个窗口,说什么"内存不能为read".如图所示
这是我php.ini中的相关配置:
[eaccelerator]
; zend_extension_ts="E:/APMServ5.2.6/zend/eAccelerator/eaccelerator.dll"
; eaccelerator.shm_size="32"
; eaccelerator.cache_dir="E:/APMServ5.2.6/tmp/eaccelerator/"
; 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"
; eaccelerator.keys = "shm" 
; eaccelerator.<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=session">session</SPAN>s = "shm"
[Zend]
zend_extension_ts=E:/APMServ5.2.6/Zend/ZendDebugger/php-5.2.x/ZendDebugger.dll
zend_debugger.allow_hosts=127.0.0.1/32,192.168.1.0/24
zend_debugger.expose_remotely=allowed_hosts
zend_debugger.expose_remotely=always
[Xdebug] 
; zend_extension_ts="E:/APMServ5.2.6/<SPAN class=t_tag onclick=tagshow(event) href="tag.php?name=PHP">PHP</SPAN>/ext/php_xdebug.dll"
; xdebug.remote_enable=On
; xdebug.remote_autostart=On
; xdebug.remote_handler=dbgp
; xdebug.remote_host=192.168.1.100
; xdebug.remote_port=9000
; xdebug.remote_mode=req以下是apache error.log文件的内容:
 
********************************************************************************************
APMServ最近一次启动、运行、停止过程中的Apache通知[notice]、提醒[warn]、错误[error]日志如下:
********************************************************************************************
[Wed Mar 10 17:06:57 2010] [notice] Apache/2.2.9 (APMServ) PHP/5.2.6 configured -- resuming normal operations
[Wed Mar 10 17:06:57 2010] [notice] Server built: Jun 13 2008 04:04:59
[Wed Mar 10 17:06:57 2010] [notice] Parent: Created child process 2756
[Wed Mar 10 17:07:02 2010] [notice] Child 2756: Child process is running
[Wed Mar 10 17:07:02 2010] [notice] Child 2756: Acquired the start mutex.
[Wed Mar 10 17:07:02 2010] [notice] Child 2756: Starting 500 worker threads.
[Wed Mar 10 17:07:02 2010] [notice] Child 2756: Starting thread to listen on port 80.
[Wed Mar 10 17:10:20 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/include/css/style.css
[Wed Mar 10 17:10:21 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/favicon.ico
[Wed Mar 10 17:10:31 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/index.php
[Wed Mar 10 17:10:33 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/show_myp2p_match_info.php
[Wed Mar 10 17:10:48 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/include/css/style.css
[Wed Mar 10 17:10:48 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/favicon.ico
[Wed Mar 10 17:11:27 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/include/css/style.css
[Wed Mar 10 17:11:33 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/auto-system/include/css/images, referer: http://localhost/auto-system/include/css/style.css
[Wed Mar 10 17:13:12 2010] [error] [client 127.0.0.1] File does not exist: E:/APMServ5.2.6/www/htdocs/favicon.ico
[Zend Debugger] Cannot receive start command

解决方案 »

  1.   


    我用的是ampserv啊怎么重装
      

  2.   

    我遇到这种内存不能为read的问题一般直接重装系统了···没办法,想解决这个问题几乎不可能···
      

  3.   


    只是在启用zend debug时会这样不用重装系统那么夸张吧
      

  4.   


    我是这么觉得的,当遇到必须要使用的功能却又实现不了,且找不到解决办法的情况下···重装···而且内存不能为read的问题一般都是系统问题吧···汗