dongmeng2509 2012-06-07 01:21
浏览 48

xdebug和WAMP - 仍在等待连接

I tried very, very much solutions for install xdebug with WAMP, but i have still communicat "Waiting for connection".

[xdebug]
zend_extension_ts="C:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.2.0-5.3-vc9-nts-86_64.dll"
xdebug.profiler_output_dir = "c:/wamp/tmp/xdebug"
xdebug.profiler_output_name = "cachegrind.out.%p"
xdebug.profiler_enable = 0
xdebug.profiler_append=0
xdebug.extended_info=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_mode=req
xdebug.remote_host=127.0.0.1
xdebug.remote_port=9000
xdebug.idekey=netbeans-xdebug
xdebug.remote_log="c:/wamp/tmp/xdebug/xdebug_remot.log"
xdebug.show_exception_trace=0
xdebug.show_local_vars=9
xdebug.show_mem_delta=0
xdebug.trace_format=0
xdebug.remote_autostart=1

i have this in both php.ini (/php and /apache).

but i can enable extension php_xdebug-2.2.0-5.3-vc9-nts-86_64.dll in WAMP. If i check this, then WAMP is reset and still is uncheck.

I have Windows 7 (64x).

Sometimes i have error:

Failed loading ”C:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.2.0-5.3-vc9-nts-x86_64.dll”
PHP Warning:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.8/ext/php_phar.dll' - .
 in Unknown on line 0
<br />
<b>Warning</b>:  PHP Startup: Unable to load dynamic library 'c:/wamp/bin/php/php5.3.8/ext/php_phar.dll'
 in <b>Unknown</b> on line <b>0</b><br />
PHP Warning:  PHP Startup: Unable to load dynamic library 'ext/php_xsl.dll' in Unknown on line 0
<br />

PHP Warning:  Xdebug MUST be loaded as a Zend extension in Unknown on line 0
<br />
<b>Warning</b>:  Xdebug MUST be loaded as a Zend extension in <b>Unknown</b> on line <b>0</b><br />

but very rarely.

How can i make with this? Please help. Still "Waiting for connection"

  • 写回答

1条回答 默认 最新

  • dov6891 2012-06-15 20:40
    关注

    A few issues. You're using PHP 5.3 and loading the extension with:

    zend_extension_ts="C:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.2.0-5.3-vc9-nts-86_64.dll"

    This line is wrong in two places:

    • Since PHP 5.3, zend_extension_ts no longer exists and you have to use zend_extension=
    • You use the nts version while the ..._ts line indicates you use the TS version of PHP

    I would suggest you make sure you have no zend_extension*= and extension= lines mentioning anything of Xdebug, and then refer to the wizard.

    评论

报告相同问题?

悬赏问题

  • ¥20 易康econgnition精度验证
  • ¥15 线程问题判断多次进入
  • ¥15 msix packaging tool打包问题
  • ¥28 微信小程序开发页面布局没问题,真机调试的时候页面布局就乱了
  • ¥15 python的qt5界面
  • ¥15 无线电能传输系统MATLAB仿真问题
  • ¥50 如何用脚本实现输入法的热键设置
  • ¥20 我想使用一些网络协议或者部分协议也行,主要想实现类似于traceroute的一定步长内的路由拓扑功能
  • ¥30 深度学习,前后端连接
  • ¥15 孟德尔随机化结果不一致