xdebug 在使用 Netbeans 的 Mac OS X 10.7 平台上不起作用
我正在尝试在 mac os x 10.7 上配置并让 xdebug 工作,其中安装了 Mamp 和 netbeans 7.1。我添加到 php.ini 文件
[xdebug]
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
zend_extension="/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
并停用 Zend,但尽管所有 netbeans 将消息显示为 Xdebug,但它并未激活,并且在 phpinfo() 中我没有看到任何有关 xdebug 的 gui。
I'm trying to configure and let work xdebug on mac os x 10.7 where it is installed Mamp and netbeans 7.1. I added to php.ini
file
[xdebug]
xdebug.default_enable=1
xdebug.remote_enable=1
xdebug.remote_handler=dbgp
xdebug.remote_host=localhost
xdebug.remote_port=9000
xdebug.remote_autostart=1
zend_extension="/Applications/MAMP/bin/php5/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so"
and deactivate Zend but despite all netbeans show the message as Xdebug it is not activate and in phpinfo() I didn't see any gui about xdebug.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
.so 文件的路径似乎错误。确保它存在。在我的 MAMP 安装中,它位于(对于 PHP5.3)。
更改后不要忘记重新启动 MAMP。
The path to the .so file seems wrong. Make sure it exists. In my MAMP installation it lives (for PHP5.3) in
Also don't forget to restart MAMP after changing it.