宝塔10周年开年大促,年度钜惠,先领红包再下单,享受折上折,还有抽奖!查看活动
当前位置:论坛首页 > Linux面板 > 求助

php8.5版本安装fileinfo扩展出错

发表在 Linux面板2026-2-11 13:48 [复制链接] 0 79

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:[backcolor=rgba(255, 255, 255, 0.9)]v11.5.0[backcolor=rgba(255, 255, 255, 0.9)]


  
系统版本:ubuntu22.04

问题描述:php8.5版本安装fileinfo扩展出错

相关截图(日志、错误):
正在选择下载节点...
--2026-02-11 13:45:25--  https://dg2.bt.cn/install/3/fileinfo.sh
Resolving dg2.bt.cn (dg2.bt.cn)... 36.150.27.13, 2409:8c20:28c1:4::2
Connecting to dg2.bt.cn (dg2.bt.cn)|36.150.27.13|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6884 (6.7K) [application/octet-stream]
Saving to: ‘fileinfo.sh’
     0K ......                                                100%  277M=0s
2026-02-11 13:45:25 (277 MB/s) - ‘fileinfo.sh’ saved [6884/6884]
正在选择下载节点...
https://dg2.bt.cn
正在选择下载节点...
--2026-02-11 13:45:26--  https://dg2.bt.cn/install/ext/ext-85.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 36.150.27.13, 2409:8c20:28c1:4::2
Connecting to dg2.bt.cn (dg2.bt.cn)|36.150.27.13|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-02-11 13:45:26 ERROR 404: Not Found.
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of ext-85.zip or
        ext-85.zip.zip, and cannot find ext-85.zip.ZIP, period.
mv: cannot stat '/www/server/php/85/src/ext-85': No such file or directory
cat: /etc/redhat-release: No such file or directory
fileinfo.sh: line 101: cd: /www/server/php/85/src/ext/fileinfo: No such file or directory
Cannot find config.m4.
Make sure that you run '/www/server/php/85/bin/phpize' in the top level source directory of the module
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
|-Successify --- 命令已执行! ---
正在选择下载节点...
--2026-02-11 13:45:25--  https://dg2.bt.cn/install/3/fileinfo.sh
Resolving dg2.bt.cn (dg2.bt.cn)... 36.150.27.13, 2409:8c20:28c1:4::2
Connecting to dg2.bt.cn (dg2.bt.cn)|36.150.27.13|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 6884 (6.7K) [application/octet-stream]
Saving to: ‘fileinfo.sh’
     0K ......                                                100%  277M=0s
2026-02-11 13:45:25 (277 MB/s) - ‘fileinfo.sh’ saved [6884/6884]
正在选择下载节点...
https://dg2.bt.cn
正在选择下载节点...
--2026-02-11 13:45:26--  https://dg2.bt.cn/install/ext/ext-85.zip
Resolving dg2.bt.cn (dg2.bt.cn)... 36.150.27.13, 2409:8c20:28c1:4::2
Connecting to dg2.bt.cn (dg2.bt.cn)|36.150.27.13|:443... connected.
HTTP request sent, awaiting response... 404 Not Found
2026-02-11 13:45:26 ERROR 404: Not Found.
  End-of-central-directory signature not found.  Either this file is not
  a zipfile, or it constitutes one disk of a multi-part archive.  In the
  latter case the central directory and zipfile comment will be found on
  the last disk(s) of this archive.
unzip:  cannot find zipfile directory in one of ext-85.zip or
        ext-85.zip.zip, and cannot find ext-85.zip.ZIP, period.
mv: cannot stat '/www/server/php/85/src/ext-85': No such file or directory
cat: /etc/redhat-release: No such file or directory
fileinfo.sh: line 101: cd: /www/server/php/85/src/ext/fileinfo: No such file or directory
Cannot find config.m4.
Make sure that you run '/www/server/php/85/bin/phpize' in the top level source directory of the module
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
|-Successify --- 命令已执行! ---

使用道具 举报 只看该作者 回复
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

问题处理方式:宝塔专家1对1服务

工作时间:工作日:9:00 - 18:30

宝塔专业团队为您解决服务器疑难问题

点击联系技术分析

工作时间:09:00至18:30

快速回复 返回顶部 返回列表