解决执行phpize报错:Cannot find autoconf. Please check your autoconf installation and the
背景
在安装PHP扩展时遇到 Cannot find autoconf 报错,通常是由于系统未安装 autoconf 工具或依赖缺失导致。以下是针对不同操作系统的解决方案:
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.

解决方案
yum -y install autoconf

检查 autoconf 是否安装成功:
autoconf --version
