升级到PHP8.2.12提示失败
本帖最后由 bybsky 于 2023-11-12 10:24 编辑操作系统是 CentOS 7.0
在源码目录中 /lnmp2.0-full/src/,从官方下载了PHP安装包 https://www.php.net/distributions/php-8.2.12.tar.bz2
#./upgrade.sh
选择 4 升级
选择 8.2.12安装
# ./upgrade.sh
1: Upgrade Nginx
2: Upgrade MySQL
3: Upgrade MariaDB
4: Upgrade PHP for LNMP
5: Upgrade PHP for LNMPA or LAMP
6: Upgrade MySQL to MariaDB
7: Upgrade phpMyAdmin
8: Upgrade Multiple PHP
exit: Exit current script
###################################################
Enter your choice (1, 2, 3, 4, 5, 6, 7 or exit): 4
include/main.sh: line 990: /usr/local/php/bin/php-config: No such file or directory
include/main.sh: line 991: /usr/local/php/bin/php-config: No such file or directory
Current PHP Version:
You can get version number from http://www.php.net/
Please enter a PHP Version you want: 8.2.12
具体的详情日志: https://t.wss.pet/f/cnbpxeyabgz 复制链接到浏览器打开
安装失败后,同样的方法,去尝试安装 8.2.11 也同样是失败的。
请教大侠们帮忙,目前没有定位到问题原因。多谢
你的系统自行升级过openssl导致的 licess 发表于 2023-11-20 08:32
你的系统自行升级过openssl导致的
请问,有什么解决办法吗? 本帖最后由 bybsky 于 2023-11-27 11:32 编辑
错误日志过期了,重新发下链接: 链接: https://pan.baidu.com/s/1L9Cj4n9rXswwzo7I9ANDVg?pwd=8888 提取码: 8888 复制这段内容后打开百度网盘手机App,操作更方便哦--来自百度网盘超级会员v6的分享
错误提示的上下文简单提取如下:
第一个错误的地方:
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/openssl/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/openssl.c -o ext/openssl/openssl.lo -MMD -MF ext/openssl/openssl.dep -MT ext/openssl/openssl.lo
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/openssl.c: In function âphp_openssl_load_rand_fileâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/openssl.c:1055:2: warning: implicit declaration of function âRAND_egdâ [-Wimplicit-function-declaration]
} else if (RAND_egd(file) > 0) {
^
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/openssl/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/openssl/xp_ssl.c -o ext/openssl/xp_ssl.lo -MMD -MF ext/openssl/xp_ssl.dep -MT ext/openssl/xp_ssl.lo
第二个错误的地方:
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/gd/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/libgd -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/gd.c -o ext/gd/gd.lo -MMD -MF ext/gd/gd.dep -MT ext/gd/gd.lo
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/gd.c: In function âphp_imagettftext_commonâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/gd.c:3072:2: warning: missing initializer for field âflagsâ of âgdFTStringExtraâ [-Wmissing-field-initializers]
gdFTStringExtra strex = {0};
^
In file included from /home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/gd.c:61:0:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/libgd/gd.h:475:6: note: âflagsâ declared here
int flags; /* Logical OR of gdFTEX_ values */
^
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/gd/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/libgd -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/gd/libgd/gd.c -o ext/gd/libgd/gd.lo -MMD -MF ext/gd/libgd/gd.dep -MT ext/gd/libgd/gd.lo
接上贴:第三个错误的地方:
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/shmop/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/shmop/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/shmop/shmop.c -o ext/shmop/shmop.lo -MMD -MF ext/shmop/shmop.dep -MT ext/shmop/shmop.lo
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/session/session.c: In function âphp_session_flushâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/session/session.c:519:22: warning: âhandler_function_nameâ may be used uninitialized in this function [-Wmaybe-uninitialized]
php_error_docref(NULL, E_WARNING, "Failed to write session data using user "
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/session/session.c:482:16: note: âhandler_function_nameâ was declared here
const char *handler_function_name;
^
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/simplexml/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c -o ext/simplexml/simplexml.lo -MMD -MF ext/simplexml/simplexml.dep -MT ext/simplexml/simplexml.lo
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/soap/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/soap/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/soap/soap.c -o ext/soap/soap.lo -MMD -MF ext/soap/soap.dep -MT ext/soap/soap.lo
In file included from /home/soft/lnmp2.0-full/src/php-8.2.12/Zend/zend.h:27:0,
from /home/soft/lnmp2.0-full/src/php-8.2.12/main/php.h:31,
from /home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c:23:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c: In function âsxe_get_prop_hashâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/Zend/zend_types.h:1278:18: warning: âiter_data.value.countedâ may be used uninitialized in this function [-Wmaybe-uninitialized]
Z_COUNTED_P(z) = gc; \
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c:1082:19: note: âiter_data.value.countedâ was declared here
zval iter_data;
^
In file included from /home/soft/lnmp2.0-full/src/php-8.2.12/Zend/zend.h:27:0,
from /home/soft/lnmp2.0-full/src/php-8.2.12/main/php.h:31,
from /home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c:23:
/home/soft/lnmp2.0-full/src/php-8.2.12/Zend/zend_types.h:1279:20: warning: âiter_data.u1.type_infoâ may be used uninitialized in this function [-Wmaybe-uninitialized]
Z_TYPE_INFO_P(z) = t; \
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/simplexml/simplexml.c:1082:19: note: âiter_data.u1.type_infoâ was declared here
zval iter_data;
^
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/soap/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/soap/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/soap/php_encoding.c -o ext/soap/php_encoding.lo -MMD -MF ext/soap/php_encoding.dep -MT ext/soap/php_encoding.lo
第四个错误的地方:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:367:2: warning: missing braces around initializer [-Wmissing-braces]
querybuf answer = {0};
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:367:2: warning: (near initialization for âanswer.qb1â) [-Wmissing-braces]
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c: In function âzif_dns_get_recordâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:822:2: warning: missing braces around initializer [-Wmissing-braces]
querybuf answer = {0};
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:822:2: warning: (near initialization for âanswer.qb1â) [-Wmissing-braces]
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c: In function âzif_dns_get_mxâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:1052:2: warning: missing braces around initializer [-Wmissing-braces]
querybuf answer = {0};
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/dns.c:1052:2: warning: (near initialization for âanswer.qb1â) [-Wmissing-braces]
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/file.c -o ext/standard/file.lo -MMD -MF ext/standard/file.dep -MT ext/standard/file.lo
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/filestat.c -o ext/standard/filestat.lo -MMD -MF ext/standard/filestat.dep -MT ext/standard/filestat.lo
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Iext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/flock_compat.c -o ext/standard/flock_compat.lo -MMD -MF ext/standard/flock_compat.dep -MT ext/standard/flock_compat.lo
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/filestat.c: In function âphp_statâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/filestat.c:744:2: warning: missing braces around initializer [-Wmissing-braces]
php_stream_statbuf ssb = {0};
^
/home/soft/lnmp2.0-full/src/php-8.2.12/ext/standard/filestat.c:744:2: warning: (near initialization for âssb.sbâ) [-Wmissing-braces]
第五个错误的地方
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Isapi/fpm/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -I/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/fpm/fpm_main.c -o sapi/fpm/fpm/fpm_main.lo -MMD -MF sapi/fpm/fpm/fpm_main.dep -MT sapi/fpm/fpm/fpm_main.lo
/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/fpm/fpm_log.c: In function âfpm_log_writeâ:
/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/fpm/fpm_log.c:307:22: warning: âscoreboardâ may be used uninitialized in this function [-Wmaybe-uninitialized]
len2 = snprintf(b, FPM_LOG_BUFFER - len, "%s", scoreboard->pool ? scoreboard->pool : "-");
^
/bin/sh /home/soft/lnmp2.0-full/src/php-8.2.12/libtool --silent --preserve-dup-deps --tag CC --mode=compile cc -std=gnu99 -Isapi/fpm/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/ -I/home/soft/lnmp2.0-full/src/php-8.2.12/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/main -I/home/soft/lnmp2.0-full/src/php-8.2.12 -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/usr/local/include -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/ext/mbstring/libmbfl/mbfl -I/home/soft/lnmp2.0-full/src/php-8.2.12/TSRM -I/home/soft/lnmp2.0-full/src/php-8.2.12/Zend -D_GNU_SOURCE -fno-common -Wlogical-op -Wno-clobbered -Wall -Wextra -Wno-strict-aliasing -Wno-unused-parameter -Wno-sign-compare -g -O2 -fvisibility=hidden -DZEND_SIGNALS -I/home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -c /home/soft/lnmp2.0-full/src/php-8.2.12/sapi/fpm/fpm/fpm_php.c -o sapi/fpm/fpm/fpm_php.lo -MMD -MF sapi/fpm/fpm/fpm_php.dep -MT sapi/fpm/fpm/fpm_php.lo bybsky 发表于 2023-11-27 10:45
请问,有什么解决办法吗?
最简单的方法不升级openssl licess 发表于 2023-11-27 13:00
最简单的方法不升级openssl
改用LNMP2.1后,就可以正常了,多谢!
页:
[1]