El Capitan 上的 phpinfo() 中缺少 Xdebug 模块

Xdebug module missing in phpinfo() on El Capitan

我在使用 xdebug 时遇到问题我已经为 5.5 安装了 via brew version.The xdebug 模块没有出现在 phpinfo() 上;既不在 zend 动力。 但是当我执行 php -i 时,模块出现了。有些人知道为什么? 非常感谢。

确定,将 phpinfo 加载的 php.ini.default 简单重命名为 php.ini