阅读模式:

php编译扩展Cannot find autoconf. Please check your autoconf installation错误

查看:6727  :0  类型:  来源:php自学网  标签 php linux centos

        php编译扩展库时报错:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script.

[root@zixuephp swoole-4.2.1]# /usr/local/php/bin/phpize
Configuring for:
PHP Api Version:         20170718
Zend Module Api No:      20170718
Zend Extension Api No:   320170718
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

解决报错:

yum install m4
yum -y install autoconf
分享到:
0 0

我的看法:

IN: