rjrawa 发表于 2024-10-23 15:51:30

【待反馈】php8.2 fileinfo拓展安装不上

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:9.2.0
系统版本:CentOS 7.9.2009 x86_64
问题描述:php8.2 fileinfo拓展安装不上
相关截图(日志、错误):

5. Configure the failing repository to be skipped, if it is unavailable.
Note that yum will try to contact the repo. when it runs most commands,
so will have to try and fail each time (and thus. yum will be be much
slower). If it is a very temporary problem though, this is often a nice
compromise:

yum-config-manager --save --setopt=<repoid>.skip_if_unavailable=true

Cannot find a valid baseurl for repo: centos-sclo-sclo/x86_64
Configuring for:
PHP Api Version: 20220829
Zend Module Api No: 20220829
Zend Extension Api No: 420220829
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for a sed that does not truncate output... /bin/sed
checking for pkg-config... /bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking whether the C compiler works... no
configure: error: in `/www/server/php/82/src/ext/fileinfo':
configure: error: C compiler cannot create executables
See `config.log' for more details
sed: can't read Makefile: 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 --- 命令已执行! ---


堡塔运维南一 发表于 2024-10-24 11:14:45

您好,联系服务器运营商那边更换一个可用的仓库源可解决
页: [1]
查看完整版本: 【待反馈】php8.2 fileinfo拓展安装不上