phpize 报错 Cannot find autoconf

PHP
Uiaoin 2022-05-10 277

PHP源码安装扩展,执行phpize时报错

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

原因是系统没有安装autoconf,yum安装后再次执行phpize就没问题了。

yum -y install autoconf
加载更多