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

【已解决】宝塔面板7.4.2 安装不上php5.6

发表在 Linux面板2020-8-4 18:25 [复制链接] 4 1399

checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... /lib/cpp
configure: error: in `/www/server/php/56/src':
configure: error: C preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details
make: *** No targets specified and no makefile found.  Stop.
make: *** No rule to make target `install'.  Stop.

捕获.PNG

使用道具 举报 只看该作者 回复
发表于 2020-8-4 18:28:52 | 显示全部楼层
重装下gcc编译器
  1. yum reinstall glibc-headers gcc-c++ -y
复制代码
使用道具 举报 回复 支持 反对
发表于 2020-8-4 18:46:12 | 显示全部楼层
zuantou 发表于 2020-8-4 18:28
重装下gcc编译器

已解决! 感谢! 论坛因你更加美好!
使用道具 举报 回复 支持 反对
发表于 2020-8-4 18:46:42 | 显示全部楼层
已解决! 感谢!
使用道具 举报 回复 支持 反对
发表于 2020-8-4 18:53:44 | 显示全部楼层
已解决!感谢!
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

企业版年付运维跟进群

普通问题处理

论坛响应时间:72小时

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

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

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

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

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

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