为了能快速了解并处理您的问题,请提供以下基础信息:
问题描述:无法安装 PHP 扩展 fileinfo
相关截图(日志、错误):2026-05-03 00:31:36 (842 MB/s) - ‘fileinfo.sh’ saved [6884/6884] 正在选择下载节点... https://download.bt.cn cat: /etc/redhat-release: No such file or directory Configuring for: PHP Version: 8.4 PHP Api Version: 20240924 Zend Module Api No: 20240924 Zend Extension Api No: 420240924 Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF environment variable. Then, rerun this script. fileinfo.sh: line 103: ./configure: No such file or directory sed: can't read Makefile: No such file or directory make: *** No targets specified and no makefile found. Stop. error
在论坛中寻找到相关解决办法 安装php扩展报错Cannot find autoconf. Please check your autoconf install... - Linux面板 - 宝塔面板论坛,但是为什么不把 autoconf 的检测加在安装脚本里?
|
|