【PHP】Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.

PHP APC インストール 時のエラー対応

PHP

Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

# /usr/local/php/bin/pecl install APC
downloading APC-3.1.9.tgz ...
Starting to download APC-3.1.9.tgz (155,540 bytes)
.................................done: 155,540 bytes
54 source files, building
WARNING: php_bin /usr/local/php-5.4.4/bin/php appears to have a suffix -5.4.4/bin/php, but config variable php_suffix does not match
running: phpize
Configuring for:
PHP Api Version:         20100412
Zend Module Api No:      20100525
Zend Extension Api No:   220100525
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

ERROR: `phpize' failed

PHP に APC インストール時に上記のエラーが発生した場合、autoconf をインストールすることで

エラーを対処できます。

yum install autoconf

 

 

 

タイトルとURLをコピーしました