我几乎做了所有的事情来解决这个问题。但是等待连接的消息仍然存在。有没有办法调试这个问题。我正在使用XAMPP服务器。操作系统窗口
[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论坛。我浪费了一整天的时间来找出解决方案,但最终还是失败了。
库文件真的存在吗?
将端口 9001 更改为 9000,重新启动 apache,然后重试。
它奏效了。 实际上,在更改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
操作系统窗口
桑普
PHP 5.4
NetBeans 7.3.1