我嘗試安裝xdebug,但收到關於'phpize'的錯誤消息。 我該如何解決這個問題?phpize將無法在Mac OS X Lion上運行
leny:~ nick$ sudo pecl install xdebug
Password:
downloading xdebug-2.1.2.tgz ...
Starting to download xdebug-2.1.2.tgz (304,229 bytes)
............done: 304,229 bytes
66 source files, building
running: phpize
Configuring for:
PHP Api Version: 20090626
Zend Module Api No: 20090626
Zend Extension Api No: 220090626
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
ERROR: `phpize' failed
我也碰到了這個問題。我安裝了autoconf,並將其添加到我的bash配置文件的路徑中,但仍然收到此消息。不確定安裝autoconf與它有什麼關係。 – jenlampton