【问题标题】:Could not load xDebug .dll in xampp无法在 xampp 中加载 xDebug .dll
【发布时间】:2017-02-23 09:23:52
【问题描述】:

尝试了一段时间,但无法修复 php_xdebug.dll 加载问题。

Php Version: 7.0.9
xDebug Version: PHP 7.0 VC14 (64 bit) 
  file: php_xdebug-2.4.1-7.0-vc14-nts-x86_64.dll 

我已将.dll文件复制到ext目录并相应地编辑了php.ini目录

php.ini configuration:
zend_extension = "C:\xampp\php\ext\php_xdebug-2.4.1-7.0-vc14-nts-x86_64.dll"
xdebug.remote_autostart=on
xdebug.remote_enable=on
xdebug.remote_enable=1
xdebug.remote_handler="dbgp"
xdebug.remote_host="127.0.01"
xdebug.remote_port=9000
xdebug.remote_mode=req
xdebug.remote_log="C:\xampp\logs"

重启 apache 后,如果我检查 php --ini 则出现加载错误

C:\xampp\php>php --ini
Failed loading C:\xampp\php\ext\php_xdebug-2.4.1-7.0-vc14-nts-x86_64.dll
Configuration File (php.ini) Path: C:\Windows
Loaded Configuration File:         C:\xampp\php\php.ini
Scan for additional .ini files in: (none)
Additional .ini files parsed:      (none)

【问题讨论】:

    标签: xampp xdebug


    【解决方案1】:

    这意味着.dll文件不在“ext”文件夹中。检查“zend_ext”文件夹。

    【讨论】:

      猜你喜欢
      • 2013-05-31
      • 2021-12-14
      • 2012-03-08
      • 1970-01-01
      • 2017-06-26
      • 2012-01-30
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多