问题 在 centos 中,对 php 扩展进行编译安装时,出现下面的提示 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. 解决方法 yum install autoconf MAC 环境下: 安装 autoconf: brew install autoconf