学习
实践
活动
专区
工具
TVP
写文章

无法激活“PHP Xdebug”扩展?

  • 回答 (1)
  • 关注 (1)
  • 查看 (1765)

无法激活“PHP Xdebug”扩展,因为它依赖未知的“felixfbecker.php-debug”扩展。

怎么解决呢?紧急求助

用户8980732用户8980732提问于
KINGISS

腾云先锋 · 腾云先锋(TDP)元老 (已认证)

There are more things in heaven and earth, Horatio, than are dreamt of in your philosophy.回答于

将Xdebug模块文件放入PHP安装目录/ext文件夹中,接着我们在PHP配置文件php.ini中追加如下配置内容:

[Xdebug]
;指定Xdebug扩展文件的绝对路径
zend_extension="C:\xampp\php\ext/php_xdebug.dll"
;启用性能检测分析
xdebug.profiler_enable=on
;启用代码自动跟踪
xdebug.auto_trace=on
;允许收集传递给函数的参数变量
xdebug.collect_params=on
;允许收集函数调用的返回值
xdebug.collect_return=on
;指定堆栈跟踪文件的存放目录
xdebug.trace_output_dir="D:/debug"
;指定性能分析文件的存放目录
xdebug.profiler_output_dir="D:/debug"
xdebug.profiler_output_name = cachegrind.out.%t.%p

扫码关注便宜云服务器开发者

领取便宜云服务器代金券

http://www.vxiaotou.com