VPS侦探论坛

 找回密码
 注册
查看: 4400|回复: 3

lnmp1.2 安装失败 PHP install failed.

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

提示
Checking ...
Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry,Failed to install LNMP!

附件里 log, 望军哥帮忙看一下。 我用的是阿里云

本帖子中包含更多资源

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

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


[ 18%] Building CXX object storage/myisammrg/CMakeFiles/myisammrg.dir/ha_myisammrg.cc.o
c++: Internal error: Killed (program cc1plus)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make[2]: *** [storage/myisammrg/CMakeFiles/myisammrg.dir/ha_myisammrg.cc.o] Error 1
make[1]: *** [storage/myisammrg/CMakeFiles/myisammrg.dir/all] Error 2
make: *** [all] Error 2
.
.
.
.

/root/lnmp1.2-full/src/php-5.6.9/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1
/bin/sh /root/lnmp1.2-full/src/php-5.6.9/libtool --silent --preserve-dup-deps --mode=compile cc -Iext/date/lib -D HAVE_TIMELIB_CONFIG_H=1 -Iext/date/ -I/root/lnmp1.2-full/src/php-5.6.9/ext/date/ -DPHP_ATOM_INC -I/root/lnmp1.2-full/src/php-5.6.9/include -I/root/lnmp1.2-full/src/php-5.6.9/main -I/root/lnmp1.2-full/src/php-5.6.9 -I/root/lnmp1.2-full/src/php-5.6.9/ext/date/lib -I/root/lnmp1.2-full/src/php-5.6.9/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/root/lnmp1.2-full/src/php-5.6.9/ext/mbstring/oniguruma -I/root/lnmp1.2-full/src/php-5.6.9/ext/mbstring/libmbfl -I/root/lnmp1.2-full/src/php-5.6.9/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.2-full/src/php-5.6.9/ext/sqlite3/libsqlite -I/root/lnmp1.2-full/src/php-5.6.9/ext/zip/lib -I/root/lnmp1.2-full/src/php-5.6.9/TSRM -I/root/lnmp1.2-full/src/php-5.6.9/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /root/lnmp1.2-full/src/php-5.6.9/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
cc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1


mysql和php编译时都有内存不足的提示
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2015-12-29 14:30:05 | 显示全部楼层

那这有什么办法解决么。我的只有512内存
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2015-12-29 19:51:47 | 显示全部楼层

回复 3# 的帖子




能加swap加上swap,安装前ps aux看看进程没用的都kill掉
安装系统尽量选择mini
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-28 17:25 , Processed in 0.026900 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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