【发布时间】:2012-01-15 21:19:51
【问题描述】:
我尝试安装 xdebug,但收到关于“phpize”的以下错误消息。 我该如何解决这个问题?
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 与它有什么关系。