当前位置:论坛首页 > Linux面板 > 求助

【已解答】Ubuntu 26.04安装P7.4失败了

发表在 Linux面板2026-8-17 15:40 [复制链接] 3 284

为了能快速了解并处理您的问题,请提供以下基础信息:
面板、插件版本:Ubuntu 26.04 LTS
系统版本:Linux面板13.0.0
问题描述:Ubuntu 26.04安装P7.4失败了

相关截图(日志、错误):checking for working autoheader... found
checking for working makeinfo... missingchecking whether to enable maintainer-specific portions of Makefiles... nochecking for gcc... gccchecking whether the C compiler (gcc  ) works... noconfigure: error: installation or configuration problem: C compiler cannot create executables.make: *** No targets specified and no makefile found.  Stop.当前系统暂不支持php-8.0及以下的版本 建议安装php-8.1及以上的版本|-Successify --- 命令已执行! ---

使用道具 举报 只看该作者 回复
发表于 2026-8-17 15:42:12 | 显示全部楼层
checking for working autoheader... found
checking for working makeinfo... missing
checking whether to enable maintainer-specific portions of Makefiles... no
checking for gcc... gcc
checking whether the C compiler (gcc  ) works... no
configure: error: installation or configuration problem: C compiler cannot create executables.
make: *** No targets specified and no makefile found.  Stop.
当前系统暂不支持php-8.0及以下的版本
建议安装php-8.1及以上的版本
|-Successify --- 命令已执行! ---
使用道具 举报 回复 支持 反对
发表于 2026-8-18 09:42:10 | 显示全部楼层
您好,您可以通过客服咨询宝塔面板相关问题:https://docs.bt.cn/wechat-service
操作方式:复制链接在微信打开,即可在线咨询客服。
使用道具 举报 回复 支持 反对
发表于 2026-8-24 11:02:24 | 显示全部楼层
您好,根据报错,根本原因是 PHP 7.4 与 Ubuntu 26.04 系统不兼容,Ubuntu 26.04其默认的 glibc、libxml2 等核心库版本很高,同时php7.4已经在2022年停止了官方维护,因此您需要安装8.1以上的版本。

如果您对此有任何顾虑或者问题,您可以通过客服咨询宝塔面板相关问题:https://docs.bt.cn/wechat-service
操作方式:复制链接在微信打开,即可在线咨询客服。
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术分析

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

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