Linux php安装fileinfo扩展
参考链接:https://www.cnblogs.com/niefudong/p/10407644.html
如果在执行
./configure --with-php-config=/usr/local/php/bin/php-config时报错,报错如下
Configuring for:
PHP Api Version: 20160303
Zend Module Api No: 20160303
Zend Extension Api No: 320160303
Cannot find autoconf. Please check your autoconf installation and the
$PHP_AUTOCONF environment variable. Then, rerun this script.
执行命令:yum install m4 yum install autoconf后重新执行./configure --with-php-config=/usr/local/php/bin/php-config