宝塔面板安装php扩展的报错,提示:Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script
如图
出现原因:
缺少 autoconf 组件的依赖
解决方案:
CentOS|RedHat系列
yum install autoconf -y
Ubuntu|Debian系列:
apt-get update -y apt-get install autoconf2.13 -y