江苏新讯网络 发表于 2024-7-2 10:17:51

【待反馈】linux面板php80安装不上fileinfo扩展

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.2.0
系统版本:centos7.9   
问题描述:php80安装不上fileinfo扩展提示成功但是一直安装不上
相关截图(日志、错误):yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=trueCannot find a valid baseurl for repo: centos-sclo-rh/x86_64Configuring for:PHP Api Version: 20200930Zend Module Api No: 20200930Zend Extension Api No: 420200930checking for grep that handles long lines and -e... /bin/grepchecking for egrep... /bin/grep -Echecking for a sed that does not truncate output... /bin/sedchecking for pkg-config... /bin/pkg-configchecking pkg-config is at least version 0.9.0... yeschecking whether the C compiler works... noconfigure: error: in `/www/server/php/80/src/ext/fileinfo':configure: error: C compiler cannot create executablesSee `config.log' for more detailssed: can't read Makefile: No such file or directorysed: can't read Makefile: No such file or directorymake: *** No targets specified and no makefile found. Stop.error

运维技术阿闯 发表于 2024-7-2 10:51:48

您好,使用 yum repolist 查看所有仓库的状态,确认 centos-sclo-rh 是否已启用。
使用 gcc --version 检查 GCC 是否已安装。如果未安装,使用 yum install gcc 安装。

错误信息中提到 Cannot find a valid baseurl for repo: centos-sclo-rh/x86_64,这通常意味着 YUM 仓库配置不正确或该仓库不可用。

江苏新讯网络 发表于 2024-7-2 10:55:54

yum repolist结果

江苏新讯网络 发表于 2024-7-2 10:57:10

gcc结果:

江苏新讯网络 发表于 2024-7-2 10:57:54

运维技术阿闯 发表于 2024-7-2 10:51
您好,使用 yum repolist 查看所有仓库的状态,确认 centos-sclo-rh 是否已启用。
使用 gcc --version 检查 ...

两个问题已经回复麻烦看一下

运维技术阿闯 发表于 2024-7-2 11:30:40

江苏新讯网络 发表于 2024-7-2 10:57
两个问题已经回复麻烦看一下

您好,您这个是yum配置问题需要您找一下服务商解决

江苏新讯网络 发表于 2024-7-2 11:36:02

运维技术阿闯 发表于 2024-7-2 11:30
您好,您这个是yum配置问题需要您找一下服务商解决

好的 。。。。

运维技术阿闯 发表于 2024-7-2 12:11:23

江苏新讯网络 发表于 2024-7-2 11:36
好的 。。。。

嗯嗯,换一下安装源
页: [1]
查看完整版本: 【待反馈】linux面板php80安装不上fileinfo扩展