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

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

发表在 Linux面板2024-10-23 15:51 [复制链接] 1 845

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


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

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

  7. Cannot find a valid baseurl for repo: centos-sclo-sclo/x86_64
  8. Configuring for:
  9. PHP Api Version: 20220829
  10. Zend Module Api No: 20220829
  11. Zend Extension Api No: 420220829
  12. checking for grep that handles long lines and -e... /bin/grep
  13. checking for egrep... /bin/grep -E
  14. checking for a sed that does not truncate output... /bin/sed
  15. checking for pkg-config... /bin/pkg-config
  16. checking pkg-config is at least version 0.9.0... yes
  17. checking whether the C compiler works... no
  18. configure: error: in `/www/server/php/82/src/ext/fileinfo':
  19. configure: error: C compiler cannot create executables
  20. See `config.log' for more details
  21. sed: can't read Makefile: No such file or directory
  22. sed: can't read Makefile: No such file or directory
  23. make: *** No targets specified and no makefile found. Stop.
  24. error
  25. |-Successify --- 命令已执行! ---
复制代码


使用道具 举报 只看该作者 回复
发表于 2024-10-24 11:14:45 | 显示全部楼层
您好,联系服务器运营商那边更换一个可用的仓库源可解决
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急运维服务

响应时间:3分钟

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

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

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

点击联系技术免费分析

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

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