明月登楼 发表于 2023-2-20 19:02:17

军哥,lnmp 2.0测试版升级PHP 8.2卡死?

/bin/sh /root/lnmp2.0/src/php-8.1.16/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/exif/ -I/root/lnmp2.0/src/php-8.1.16/ext/exif/ -I/root/lnmp2.0/src/php-8.1.16/include -I/root/lnmp2.0/src/php-8.1.16/main -I/root/lnmp2.0/src/php-8.1.16 -I/root/lnmp2.0/src/php-8.1.16/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/imap -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl/mbfl -I/root/lnmp2.0/src/php-8.1.16/TSRM -I/root/lnmp2.0/src/php-8.1.16/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /root/lnmp2.0/src/php-8.1.16/ext/exif/exif.c -o ext/exif/exif.lo-MMD -MF ext/exif/exif.dep -MT ext/exif/exif.lo
/bin/sh /root/lnmp2.0/src/php-8.1.16/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/root/lnmp2.0/src/php-8.1.16/ext/fileinfo/ -I/root/lnmp2.0/src/php-8.1.16/include -I/root/lnmp2.0/src/php-8.1.16/main -I/root/lnmp2.0/src/php-8.1.16 -I/root/lnmp2.0/src/php-8.1.16/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/imap -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl/mbfl -I/root/lnmp2.0/src/php-8.1.16/TSRM -I/root/lnmp2.0/src/php-8.1.16/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/root/lnmp2.0/src/php-8.1.16/ext/fileinfo/libmagic -c /root/lnmp2.0/src/php-8.1.16/ext/fileinfo/fileinfo.c -o ext/fileinfo/fileinfo.lo-MMD -MF ext/fileinfo/fileinfo.dep -MT ext/fileinfo/fileinfo.lo
/bin/sh /root/lnmp2.0/src/php-8.1.16/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -Iext/fileinfo/ -I/root/lnmp2.0/src/php-8.1.16/ext/fileinfo/ -I/root/lnmp2.0/src/php-8.1.16/include -I/root/lnmp2.0/src/php-8.1.16/main -I/root/lnmp2.0/src/php-8.1.16 -I/root/lnmp2.0/src/php-8.1.16/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng16 -I/usr/include/freetype2 -I/usr/local/include -I/usr/include/imap -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl -I/root/lnmp2.0/src/php-8.1.16/ext/mbstring/libmbfl/mbfl -I/root/lnmp2.0/src/php-8.1.16/TSRM -I/root/lnmp2.0/src/php-8.1.16/Zend    -fno-common -Wstrict-prototypes -Wformat-truncation -Wlogical-op -Wduplicated-cond -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -Wimplicit-fallthrough=1 -DZEND_SIGNALS   -I/root/lnmp2.0/src/php-8.1.16/ext/fileinfo/libmagic -c /root/lnmp2.0/src/php-8.1.16/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo-MMD -MF ext/fileinfo/libmagic/apprentice.dep -MT ext/fileinfo/libmagic/apprentice.lo



一直卡死在这里,无论是哪个版本!
分别试了8.1.16、8.2.0、8.2.3都是卡在这里了!

licess 发表于 2023-2-20 19:56:19

fileinfo需要至少1GB以上内存,配置低的话不排除可能会卡

明月登楼 发表于 2023-2-21 01:13:36

licess 发表于 2023-2-20 19:56
fileinfo需要至少1GB以上内存,配置低的话不排除可能会卡

哦,怪不得!
页: [1]
查看完整版本: 军哥,lnmp 2.0测试版升级PHP 8.2卡死?