VPS侦探论坛

 找回密码
 注册
查看: 4124|回复: 4

LNMP 1.6管理脚本升级PHP7出错,日志已附上

[复制链接]
发表于 2019-8-25 21:20:30 | 显示全部楼层 |阅读模式

本帖最后由 cyclists 于 2019-8-25 21:27 编辑

升级出错,不懂错在哪一步了。

Centos 7 系统,内核5.1.15,GCC 4.8.5

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-26 08:55:36 | 显示全部楼层


checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
checking how to run the C++ preprocessor... /lib/cpp
configure: error: in `/root/lnmp1.6/src/php-7.3.0':
configure: error: C++ preprocessor "/lib/cpp" fails sanity check

你系统环境有问题,有可能gcc之类的被你删除了
yum install glibc-headers gcc-c++ 后再试一下
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-26 12:54:40 | 显示全部楼层

licess 发表于 2019-8-26 08:55
checking whether we are using the GNU C++ compiler... no
checking whether g++ accepts -g... no
check ...

军哥,我按照您的指示升级了GCC,G++什么的,又出现了新的问题,好像是文件不存在什么的,详情见附件。

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2019-8-26 21:28:17 | 显示全部楼层



/root/lnmp1.6/src/php-7.3.8/Zend/zend_execute.c -o Zend/zend_execute.lo
cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://bugzilla.redhat.com/bugzilla> for instructions.

内存不够用可能你配置低于1GB内存或者有其他程序占用内存导致不够用
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2019-8-27 01:18:07 来自手机 | 显示全部楼层

licess 发表于 2019-8-26 21:28
内存不够用可能你配置低于1GB内存或者有其他程序占用内存导致不够用

谢谢军哥,我搞定了,开了虚拟内存就OK了。

军哥运维代购:http://shop63846532.taobao.com/

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-22 11:31 , Processed in 0.027246 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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