VPS侦探论坛

 找回密码
 注册
查看: 228|回复: 1

lnmp1.7安装php7.2.30失败

[复制链接]
发表于 2020-5-6 12:26:13 | 显示全部楼层 |阅读模式



本帖最后由 hisune 于 2020-5-6 12:34 编辑

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.
make: *** [Zend/zend_execute.lo] Error 1
/bin/sh /root/lnmp1.7/src/php-7.2.30/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/root/lnmp1.7/src/php-7.2.30/Zend/ -DPHP_ATOM_INC -I/root/lnmp1.7/src/php-7.2.30/include -I/root/lnmp1.7/src/php-7.2.30/main -I/root/lnmp1.7/src/php-7.2.30 -I/root/lnmp1.7/src/php-7.2.30/ext/date/lib -I/usr/include/libxml2 -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/oniguruma -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/libmbfl -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/libmbfl/mbfl -I/root/lnmp1.7/src/php-7.2.30/ext/sqlite3/libsqlite -I/root/lnmp1.7/src/php-7.2.30/ext/zip/lib -I/root/lnmp1.7/src/php-7.2.30/TSRM -I/root/lnmp1.7/src/php-7.2.30/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /root/lnmp1.7/src/php-7.2.30/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.
make: *** [Zend/zend_execute.lo] Error 1
/bin/sh /root/lnmp1.7/src/php-7.2.30/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/root/lnmp1.7/src/php-7.2.30/Zend/ -DPHP_ATOM_INC -I/root/lnmp1.7/src/php-7.2.30/include -I/root/lnmp1.7/src/php-7.2.30/main -I/root/lnmp1.7/src/php-7.2.30 -I/root/lnmp1.7/src/php-7.2.30/ext/date/lib -I/usr/include/libxml2 -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/oniguruma -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/libmbfl -I/root/lnmp1.7/src/php-7.2.30/ext/mbstring/libmbfl/mbfl -I/root/lnmp1.7/src/php-7.2.30/ext/sqlite3/libsqlite -I/root/lnmp1.7/src/php-7.2.30/ext/zip/lib -I/root/lnmp1.7/src/php-7.2.30/TSRM -I/root/lnmp1.7/src/php-7.2.30/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS   -c /root/lnmp1.7/src/php-7.2.30/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.
make: *** [Zend/zend_execute.lo] Error 1
Copy new php configure file...
Modify php.ini......
include/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
include/php.sh: line 92: php: command not found
curl: (23) Failed writing body (0 != 16110)
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
include/upgrade_php.sh: line 691: lnmp: command not found
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.


谷歌后基本都是说内存不够导致的,我vps是阿里云centos7,512M的内存,然后加了2G的swap,还是报这个错误:
free -m:
              total        used        free         shared  buff/cache   available
Mem:            480          69         336           0          74         397
Swap:          2047           0        2047










本帖子中包含更多资源

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

x
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-5-6 13:46:50 | 显示全部楼层


内存不足
swap它只是swap,但不是完全当内存用
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2020-8-12 02:09 , Processed in 0.068158 second(s), 27 queries .

Powered by Discuz! X3.4

Copyright © 2001-2020, Tencent Cloud.

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