无法在 XAMPP 和 Windows XP 上安装 Xdebug [英] Can't install Xdebug on XAMPP and Windows XP
问题描述
我知道,这已经被问过几次了,但答案并没有解决我的问题.
我在 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 = Onxdebug.remote_handler = "dbgp"xdebug.remote_host = "127.0.0.1"xdebug.remote_mode=reqxdebug.remote_port = 9000xdebug.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 = 0xdebug.profiler_enable = 1xdebug.profiler_enable_trigger = 0xdebug.profiler_output_dir = "D:\Stefan\xampp\tmp"xdebug.profiler_output_name = "cachegrind.out.%t-%s"xdebug.remote_enable = 0xdebug.remote_handler = "dbgp"xdebug.remote_host = "127.0.0.1"xdebug.trace_output_dir = "D:\Stefan\xampp\tmp"
I know, this has been asked several times, but the answers did not solve my problem.
I am running XAMPP 1.8.2 on Windows XP SP3 and am struggling in installing XDebug.
I downloaded XDebug from the website. Unfortunately, the installation wizard did not work for me, my PHP Version is 5.4.16, so I chose the file for PHP 5.4 VC9 TS (32 bit)
.
I configured my php.ini according to different tutorials:
[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
When restarting apache, no additional entries show up in the phpinfo()
. I have checked, that no other debugging or accelleration modules are activated, and also tried to change the Xdebug port, but nothing worked.
The Apache and Windows Error Logs do not contain any entries related to this issue.
Any hints?
There seems to be a bug in the XDebug.dll that comes with XAMMP.
Download the TS version from the xdebug website
And configure like this
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"
这篇关于无法在 XAMPP 和 Windows XP 上安装 Xdebug的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!