问题描述
我已经安装好了 xdebug(显示在 phpinfo() 中),但我试图让它与 PHPUnit 的代码覆盖功能一起工作.它一直告诉我未加载 XDebug 扩展".我让 phpunit 与 WAMP 一起工作得很好.当我运行 php -m 时,我在 php 模块和 zend 模块中都没有看到 xdebug,这表明为什么 phpunit 找不到 xdebug 扩展
有人知道这个问题吗?
我的详细配置如下:Windows 7的php 5.3.0阿帕奇 2.2.11Zend 引擎 v2.3.0Xdebug v2.1.0
谢谢,克里希南
WAMP 是否有不同的 CLI 和 Apache 配置文件?我个人使用 Ubuntu,但一个快速的谷歌让我这个 WAMP 常见问题>
HTH.
I've got xdebug installed fine (showing up in phpinfo()) but I'm trying to get it to work with PHPUnit's code coverage functionality. It keeps telling me "The XDebug extension is not loaded". I've got phpunit working fine with WAMP.When i run php -m i don't see xdebug listed in neither php modules nor zend modules which points as to why phpunit is not find the xdebug extension
Does anyone have any idea of this problem?
My detailed configuration is as follows:Windows 7php 5.3.0Apache 2.2.11Zend Engine v2.3.0Xdebug v2.1.0
Thanks,Krishnen
Does WAMP have a different config file for the CLI and Apache? I use Ubuntu personally, but a quick google got me to this WAMP FAQ
HTH.
这篇关于未加载 xdebug 扩展的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!