按照 文档安装php7.2 安装失败

问答中心分类: Linux按照 文档安装php7.2 安装失败
来生 asked 3年 ago
之前安装7.1 可以完成安装但是 重置服务器之后安装7.2 一直安装不上  cc: internal compiler error: Killed (program cc1)
Please submit a full bug report,
with preprocessed source if appropriate.
See <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
Makefile:2283: recipe for target 'Zend/zend_execute.lo' failed
make: *** [Zend/zend_execute.lo] Error 1
/bin/bash /root/oneinstack/src/php-7.2.15/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -IZend/ -I/root/oneinstack/src/php-7.2.15/Zend/ -DPHP_ATOM_INC -I/root/oneinstack/src/php-7.2.15/include -I/root/oneinstack/src/php-7.2.15/main -I/root/oneinstack/src/php-7.2.15 -I/root/oneinstack/src/php-7.2.15/ext/date/lib -I/usr/include/libxml2 -I/usr/local/openssl/include -I/usr/local/curl/include -I/usr/include/freetype2 -I/usr/include/libpng16 -I/root/oneinstack/src/php-7.2.15/ext/mbstring/oniguruma -I/root/oneinstack/src/php-7.2.15/ext/mbstring/libmbfl -I/root/oneinstack/src/php-7.2.15/ext/mbstring/libmbfl/mbfl -I/root/oneinstack/src/php-7.2.15/ext/sqlite3/libsqlite -I/usr/local/include -I/root/oneinstack/src/php-7.2.15/ext/zip/lib -I/root/oneinstack/src/php-7.2.15/TSRM -I/root/oneinstack/src/php-7.2.15/Zend -I/usr/local/include -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /root/oneinstack/src/php-7.2.15/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 <file:///usr/share/doc/gcc-7/README.Bugs> for instructions.
Makefile:2283: recipe for target 'Zend/zend_execute.lo' failed
make: *** [Zend/zend_execute.lo] Error 1
PHP install failed, Please Contact the author! 您有时间看下 他提示请联系作者 如果可以的话我可以提供 ssh

3 Answers
oneinstack answered 3年 ago
服务器内存多大?/var/log/message 中是否有outofmemory?

来生 answered 3年 ago
!稍等我看下。内存0.5g只是用来练习装服务器的临时的。outofmemory这个。。不懂。。

来生 answered 3年 ago
好的。明天我把现在这个释放掉重新开个大内存的。谢谢您