【待反馈】php扩展安装不上
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.6php 8.2.16
系统版本:
chentos7.9
问题描述:
PHP安装扩展 点击安装提示正在安装 但是安装不上 过一会还是提示没安装 重启服务器 修复面板也都试过了 不好使 PHP我卸载重新安装了 也不行 哪个扩展都安不上
相关截图(日志、错误):
正在选择下载节点...正在选择下载节点...Configuring for:PHP Api Version: 20220829Zend Module Api No: 20220829Zend Extension Api No: 420220829checking 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 for cc... ccchecking whether the C compiler works... noconfigure: error: in `/www/server/php/82/src/ext/exif':configure: error: C compiler cannot create executablesSee `config.log' for more detailssed: can't read Makefile: No such file or directorymake: *** No targets specified and no makefile found. Stop.ERROR!|-Successify --- 命令已执行! --- 您好,执行下面命令之后再去安装试试:
yum install -y gcc gcc-c++ 本帖最后由 宝塔用户_odkxbr 于 2024-4-11 15:08 编辑
运维技术南一 发表于 2024-4-11 14:54
您好,执行下面命令之后再去安装试试:
yum install -y gcc gcc-c++
执行了 有gcc gcc+编译安装软件都正常 gcc没毛病啊 我就蒙圈了 我gcc版本 11.2 是不是太高了?
还是不行啊 安装不上 太奇怪了 宝塔用户_odkxbr 发表于 2024-4-11 15:58
还是不行啊 安装不上 太奇怪了
试一下其他版本可以安装吗
也有可能是你gcc版本太高的原因,我这里是4.8.5
页:
[1]