我在winxp上安装xdebug时没有问题。我将输出从PHP信息粘贴到xdebug页面的表单上,然后安装所需的版本或DLL库。问题是我无法连接到端口9000上的xdebug,因为没有任何监听端口9000(我通过netstat -a命令找到它)。有人可以给我点如何解决这个问题?谢谢。 这里是我的phpinfo输出:如何在win xp上运行xdebug
0
A
回答
0
我已经解决了这个问题。这里是我的php.ini中的配置,它运行!
zend_extension="C:\Program Files\Apache Software Foundation\Apache2.2\php\ext\php_xdebug-2.1.3-5.3-vc9.dll"
[xdebug]
xdebug.remote_enable=ON
xdebug.remote_handler=dbgp
xdebug.remote_host=127.0.0.1
xdebug.remote_autostart = 1
xdebug.remote_port=9000
xdebug.idekey="netbeans-xdebug"
xdebug.remote_connect_back=ON
xdebug.remote_log="C:\Program Files\Apache Software Foundation\Apache2.2\logs\xdebug.log"
xdebug.profiler_enable = 1
xdebug.profiler_output_name = cachegrind.out.%t.%p
xdebug.profiler_output_dir = "C:/Windows/Temp/xdebug"
xdebug.trace_output_dir = "C:/Windows/Temp/xdebug"
3
你需要一个实际的调试器监听端口号为9000 Eclipse PDT提供XDebug的兼容性,例如。
下需要在php.ini进行调整:
; Enable remote connections
xdebug.remote_enable = On
; Automatically connect when PHP script starts
xdebug.remote_autostart = 1
; IP adress to connect *to*
; (adjust accordingly)
xdebug.remote_host = 127.0.0.1
这些设置将XDebug
连接到localhost每当PHP脚本启动。如果设置正确*,Eclipse会询问您是否要接受调试连接。
*请参阅上面链接中的教程
相关问题
- 1. 如何在Heroku上运行Xdebug?
- 2. 我如何在运行时在运行时提升我的进程win xp
- 3. 无法在Win XP机器上运行netsh命令
- 4. ../的路径无法在win XP和Qt上运行
- 5. 在Win XP上运行spork/ruby1.8.7 not recognized gem'win-32process'
- 6. xdebug不在mamp上运行
- 7. 如何在Windows XP上运行nAudio?
- 8. 需要信息运行hapi和惰性与Win XP上的node.js
- 9. Win XP上的Mercurial错误
- 10. 在Windows XP上运行buildbot
- 11. 在VC++ 2005 + Win XP SP2上使用'CreateJobObject'
- 12. Win XP/Win 7/Win 8上的IE之间的差异
- 13. 我们不能在Win XP中运行BTSHTTPReceive.dll(IIS 5)
- 14. systeminfo命令不能在WIN XP Home土耳其语运行
- 15. Netbeans xDebug只在Mac上运行一次
- 16. 如何并行运行XDebug和Zend?
- 17. SQLPLUS不能在win XP SP3上使用oracle即时客户端运行
- 18. Win XP msvcrt崩溃
- 19. 在win xp上组装COM可执行文件
- 20. 如何在Windows XP上使用Perl运行可执行文件?
- 21. 我如何知道/看到线程在哪个内核上运行? (在win XP中)
- 22. RPy2 - 2.1.7 WIN XP上的安装问题
- 23. 如何从UBUNTU运行单声道应用程序的Win XP加载图片
- 24. 运行Eclipse时Win XP自动隐藏功能不起作用
- 25. 编码问题 - Win Xp vs Win 2003
- 26. Win7上的记录错误,而不是Win XP(运行时错误-2147217895(80040e19))
- 27. 在Windows XP上运行Python CGI脚本
- 28. 在Windows XP上运行Python CGI脚本
- 29. 在Windows XP SP2上运行Phonon
- 30. NerdDinner可以在IIS5上运行XP吗?