php – 无法在XAMPP和Windows XP上安装Xdebug

发布时间:2022-04-30 发布网站:脚本宝典
脚本宝典收集整理的这篇文章主要介绍了php – 无法在XAMPP和Windows XP上安装Xdebug脚本宝典觉得挺不错的,现在分享给大家,也给大家做个参考。
知道,这已被问过几次,但答案并没有解决我的问题.

我在Windows xp SP3上运行XamPP 1.8.2并且正在努力安装XDebug.

我从网站上下载了XDebug.不幸的是,安装向导对我不起作用,我的PHP版本是5.4.16,所以我选择了PHP 5.4 VC9 TS(32位)的文件.

我根据不同的教程配置了我的PHP.ini:

[XDebug]
zend_extension_ts = "D:\Stefan\xampp\PHP\ext\PHP_xdebug-2.2.3-5.4-vc9.dll"
xdebug.remote_enable = On
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.remote_mode=req
xdebug.remote_port = 9000
xdebug.remote_autostart = 1

重新启动apache时,PHPinfo()中不会显示任何其他条目.我已经检查过,没有激活其他调试或加速模块,并且还尝试更改Xdebug端口,但没有任何效果.

Apache和Windows错误日志不包含与此问题相关的任何条目.

任何提示

XAMMP中附带的XDebug.dll似乎存在错误.

从xdebug网站下载TS版本

并配置这样

zend_extension = "D:\Stefan\xampp\PHP\ext\PHP_xdebug-2.2.3-5.4-vc9.dll"
xdebug.PRofiler_apPEnd = 0
xdebug.profiler_enable = 1
xdebug.profiler_enable_trigger = 0
xdebug.profiler_output_dir = "D:\Stefan\xampp\tmp"
xdebug.profiler_output_name = "cachegrind.out.%t-%s"
xdebug.remote_enable = 0
xdebug.remote_handler = "dbgp"
xdebug.remote_host = "127.0.0.1"
xdebug.trace_output_dir = "D:\Stefan\xampp\tmp"

脚本宝典总结

以上是脚本宝典为你收集整理的php – 无法在XAMPP和Windows XP上安装Xdebug全部内容,希望文章能够帮你解决php – 无法在XAMPP和Windows XP上安装Xdebug所遇到的问题。

如果觉得脚本宝典网站内容还不错,欢迎将脚本宝典推荐好友。

本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。