内容

[root@res-system.com~]# /usr/local/bin/phpize
Configuring for:
PHP Api Version: 20041225
Zend Module Api No: 20050922
Zend Extension Api No: 220051025
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.



原因

autoconf(configure スクリプトを自動生成するツール)が見つからないというエラー



解決

autoconfのインストール

GNUサイトからautoconf-2.59.tar.gzを取得しインストール




# wget http://ftp.gnu.org/gnu/autoconf/autoconf-2.59.tar.gz
# tar zxvf autoconf-2.59.tar.gz
# ./configure --prefix=/usr
# make
# make install