oyjcmyn 发表于 2015-12-29 13:00:26

lnmp1.2 安装失败 PHP install failed.

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

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

licess 发表于 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: *** Error 1
make: *** Error 2
make: *** 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: *** 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: *** Error 1

mysql和php编译时都有内存不足的提示

oyjcmyn 发表于 2015-12-29 14:30:05

那这有什么办法解决么。我的只有512内存

licess 发表于 2015-12-29 19:51:47

回复 3# 的帖子

能加swap加上swap,安装前ps aux看看进程没用的都kill掉
安装系统尽量选择mini
页: [1]
查看完整版本: lnmp1.2 安装失败 PHP install failed.