2013-09-22 57 views
0

我已经做了几乎所有事情来解决这个问题。 。但等待连接的消息仍然存在。 。 。 。 。有没有什么办法来调试这个问题。我正在使用xampp服务器。操作系统窗口net beans xdebug等待连接错误?

[XDebug] 
zend_extension = "C:\Users\arslan\Desktop\xampp-win32-1.8.1-VC9\xampp\php\ext\php_xdebug-2.2.3-5.4-  vc9.dll" 
xdebug.remote_autostart=off 
xdebug.remote_enable=1 
xdebug.remote_handler="dbgp" 
xdebug.remote_mode=req 
xdebug.remote_host=localhost 
xdebug.remote_port=9001 

我试着用zend和xdebug的ecllipse。连接问题继续存在。 我已经通过了stackoverflow和netbean论坛。 我已经把我的整整一天浪费掉了,找出解决方案但是失败了。

+1

1.你是否已经验证了Xdebug扩展已启用(这些空间看起来可疑)? 2.您是否允许在Windows防火墙上使用netbeans(即使它是本地主机)? –

+1

只需使用'UWamp'包。当你安装它时,你已经配置并准备好使用xdebug和zend debuger。在我搬到这个软件包之后,我并不想回到XAMPP(非常缓慢和越野车)。 关于你的问题检查在“phpinfo”中是否显示xdebug是活动的,路径是否正确。 – mwebber

+0

谢谢。 。 .ur回复帮助了我 – arslan

回答

0

它的工作。 其实我更改php.ini后没有重新启动Apache。

工作的php.ini

[XDebug] 
zend_extension= "C:\Users\arslan\Desktop\xampp-win32-1.8.1-VC9\xampp\php\ext\php_xdebug.dll" 
xdebug.remote_enable=on 
xdebug.remote_handler=dbgp 
xdebug.remote_host="localhost" 
xdebug.remote_port=9001 
xdebug.remote_autostart=1 

操作系统windows

XAMPP

PHP 5.4

的NetBeans 7.3.1

1

库文件真的存在吗?

将端口9001更改为9000,重新启动apache并重试。

相关问题