我知道,这个问题已经被问过好几次了,但答案并没有解决我的问题。
我在 Windows XP SP3 上运行 XAMPP 1.8.2,并且在安装 XDebug 时遇到困难。
我从网站下载了XDebug。不幸的是,安装向导对我不起作用,我的 PHP 版本是 5.4.16,所以我选择了该文件PHP 5.4 VC9 TS (32 bit)
.
我根据不同的教程配置了 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 错误日志不包含与此问题相关的任何条目。
有什么提示吗?
XAMPP 附带的 XDebug.dll 中似乎存在错误。
下载TS http://xdebug.org/files/php_xdebug-2.2.3-5.4-vc9.dll来自 xdebug 网站的版本
并像这样配置
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"
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)