xdebug在使用Netbeans的Mac OS X 10.7平台中不起作用

时间:2012-02-13 14:54:10

标签: php netbeans xdebug

我正在尝试配置并让xdebug在mac os x 10.7上工作,它安装了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。

1 个答案:

答案 0 :(得分:0)

.so文件的路径似乎错了。确保它存在。在我的MAMP安装中,它存在于

中(对于PHP5.3)
 /Applications/MAMP/bin/php/php5.3.6/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so

也不要忘记在更改后重新启动MAMP。

相关问题