![](/img/trans.png)
[英]Netbeans not connecting with xdebug on Wamp : “showing waiting for connection”
[英]xdebug and WAMP - still Waiting for connection
我为WAMP安装xdebug尝试了非常非常多的解决方案,但我仍在交流“等待连接”。
[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
我在php.ini(/ php和/ apache)中都有这个。
但我可以在WAMP中启用扩展名php_xdebug-2.2.0-5.3-vc9-nts-86_64.dll。 如果我选中此选项,则WAMP会重置,并且仍处于取消选中状态。
我有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' - .\r\n 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 />
但很少。
我该怎么做? 请帮忙。 仍然是“等待连接”
一些问题。 您正在使用PHP 5.3,并使用以下命令加载扩展:
zend_extension_ts =“ C:/wamp/bin/php/php5.3.8/ext/php_xdebug-2.2.0-5.3-vc9-nts-86_64.dll”
该行在两个地方是错误的:
zend_extension_ts
不再存在,您必须使用zend_extension=
我建议您确保没有提到Xdebug的zend_extension * =和extension =行,然后参考向导 。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.