【问题标题】:Xdebug is not installed on XAMPPXAMPP 上没有安装 Xdebug
【发布时间】:2021-05-19 01:51:05
【问题描述】:

我想安装Xdebug,因为我的PHP版本是7.4.8,所以我下载了php_xdebug-3.0.2-7.4-vc15-nts-x86_64.dll文件并将它放在php\ext\文件夹中。

然后我打开php.ini 并在其末尾添加了这些行:

[XDebug]
zend_extension="F:\xampp\php\ext\php_xdebug-3.0.2-7.4-vc15-nts-x86_64.dll"
xdebug.remote_enable=On
xdebug.remote_host="localhost"
xdebug.remote_port=9000
xdebug.remote_handler="dbgp"
xdebug.var_display_max_depth=15

之后我重新启动了 Apache 并打开了仪表板,但 Xdebug 没有显示在那里,这意味着它还没有以某种方式安装。

那么我现在应该怎么做才能正确安装呢?

【问题讨论】:

标签: php xampp xdebug


【解决方案1】:

也许可以尝试使用经过验证可以在 XAMPP 仪表板中工作的旧版 XDebug: https://xdebug.org/files/php_xdebug-2.9.7-7.4-vc15-x86_64.dll

如果这不起作用,那么此页面上的更多详细信息可能会有所帮助: https://gist.github.com/odan/1abe76d373a9cbb15bed

【讨论】:

    猜你喜欢
    • 2013-05-31
    • 2013-07-02
    • 2019-05-27
    • 2011-01-11
    • 2014-09-21
    • 2011-07-29
    • 1970-01-01
    • 2012-12-12
    • 2019-05-10
    相关资源
    最近更新 更多