lamp icon indicating copy to clipboard operation
lamp copied to clipboard

PHP Failed to install on Centos 7.9

Open bobby-b-song opened this issue 4 years ago • 1 comments

Thank you for using PHP.

/bin/sh /home/flavcanoid/lamp/software/php-8.0.12/libtool --silent --preserve-dup-deps --mode=compile cc -std=gnu99 -Iext/standard/ -I/home/flavcanoid/lamp/software/php-8.0.12/ext/standard/ -I/home/flavcanoid/lamp/software/php-8.0.12/include -I/home/flavcanoid/lamp/software/php-8.0.12/main -I/home/flavcanoid/lamp/software/php-8.0.12 -I/home/flavcanoid/lamp/software/php-8.0.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/imap -I/home/flavcanoid/lamp/software/php-8.0.12/ext/mbstring/libmbfl -I/home/flavcanoid/lamp/software/php-8.0.12/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/include -I/home/flavcanoid/lamp/software/php-8.0.12/TSRM -I/home/flavcanoid/lamp/software/php-8.0.12/Zend  -I/usr/local/mysql/include -I/usr/local/apache/include -D_REENTRANT -pthread  -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/flavcanoid/lamp/software/php-8.0.12/ext/standard/info.c -o ext/standard/info.lo 
/bin/sh /home/flavcanoid/lamp/software/php-8.0.12/libtool --silent --preserve-dup-deps --mode=compile cc -std=gnu99 -IZend/ -I/home/flavcanoid/lamp/software/php-8.0.12/Zend/ -I/home/flavcanoid/lamp/software/php-8.0.12/include -I/home/flavcanoid/lamp/software/php-8.0.12/main -I/home/flavcanoid/lamp/software/php-8.0.12 -I/home/flavcanoid/lamp/software/php-8.0.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/enchant -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/include/imap -I/home/flavcanoid/lamp/software/php-8.0.12/ext/mbstring/libmbfl -I/home/flavcanoid/lamp/software/php-8.0.12/ext/mbstring/libmbfl/mbfl -I/usr/include/pspell -I/usr/local/include -I/home/flavcanoid/lamp/software/php-8.0.12/TSRM -I/home/flavcanoid/lamp/software/php-8.0.12/Zend  -I/usr/local/mysql/include -I/usr/local/apache/include -D_REENTRANT -pthread  -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-implicit-fallthrough -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -pthread -DZTS -DZEND_SIGNALS     -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/flavcanoid/lamp/software/php-8.0.12/Zend/zend_execute.c -o Zend/zend_execute.lo 
cc: 编译器内部错误:已杀死(程序 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] 错误 1
make: *** 空字符串是无效的文件名。 停止。

+------------------+
|  ERROR DETECTED  |
+------------------+
Installation php-8.0.12 failed.
The Full Log is available at /home/flavcanoid/lamp/lamp.log
Please visit website: https://lamp.sh/faq.html for help

bobby-b-song avatar Oct 28 '21 10:10 bobby-b-song

内存不足,编译进程被系统 killed,增加内存或 SWAP 可解决

teddysun avatar Oct 28 '21 11:10 teddysun