【已解答】无法安装 PHP 扩展 fileinfo
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:Linux 稳定版 10.0.2系统版本:Ubuntu 24.04.3 LTS
问题描述:无法安装 PHP 扩展 fileinfo
相关截图(日志、错误):2026-05-03 00:31:36 (842 MB/s) - ‘fileinfo.sh’ saved 正在选择下载节点...https://download.bt.cncat: /etc/redhat-release: No such file or directoryConfiguring for:PHP Version: 8.4PHP Api Version: 20240924Zend Module Api No: 20240924Zend Extension Api No: 420240924Cannot 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 directorysed: can't read Makefile: No such file or directorymake: *** No targets specified and no makefile found. Stop.error
在论坛中寻找到相关解决办法安装php扩展报错Cannot find autoconf. Please check your autoconf install... - Linux面板 - 宝塔面板论坛,但是为什么不把 autoconf 的检测加在安装脚本里?
看报错是下载不完整,您重新安装一下fileinfo或者重装一下对应版本的php后再试试
页:
[1]