所以我安装了xdebug,但我猜测它的版本不对,因为我下载了一个预编译版本,但它不起作用,所以我决定自己做。我也跟着上了XDebug站点上的说明,当它涉及到运行phpize我得到以下错误:在OS X Lion上安装xdebug 10.7.6
Cannot find config.m4.
Make sure that you run './phpize' in the top level source directory of the module
当我在目录/ usr/bin中运行phpize我得到同样的错误。
当我尝试看看我运行的是什么版本的phpize的,我得到以下错误:
grep: /usr/include/php/main/php.h: No such file or directory
grep: /usr/include/php/Zend/zend_modules.h: No such file or directory
grep: /usr/include/php/Zend/zend_extensions.h: No such file or directory
Configuring for:
PHP Api Version:
Zend Module Api No:
Zend Extension Api No:
而且它阻止我在我的轨道的另一件事是,我没有gcc编译我已经unisntalled和现在重新安装xcode两次,但没有任何优势...
Lion尚未达到10.7.6版本,只有10.7.3。 – Kyle 2012-04-15 21:22:18