dfxlm 发表于 2022-1-7 10:31:40

lnmp1.7升级7.4.27失败


这是操作系统信息
----
# cat /etc/centos-release
CentOS Linux release 7.9.2009 (Core)
# cat /proc/version
Linux version 3.10.0-1160.6.1.el7.x86_64 (mockbuild@kbuilder.bsys.centos.org) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Tue Nov 17 13:59:11 UTC 2020

----------------------------------------------------------------------------
下面是升级日志信息,因为无法下载文件,只能直接贴出来
-----------------------------------------------------------------
1 include/main.sh: line 703: /usr/local/php/bin/php-config: No such file or directory
   2 include/main.sh: line 704: /usr/local/php/bin/php-config: No such file or directory
   3 Current PHP Version:
   4 You can get version number from http://www.php.net/
   5 Please enter a PHP Version you want:
   6 ^[[0;32mPress any key to start...or Press Ctrl+c to cancel^[[0m
   7
   8 php-7.4.27.tar.bz2
   9 +-------------------------------------------+
10 |    Manager for LNMP, Written by Licess    |
11 +-------------------------------------------+
12 |            https://lnmp.org             |
13 +-------------------------------------------+
14 Stoping LNMP...
15 Stoping nginx...done
16 Shutting down MySQL.. SUCCESS!
17 Gracefully shutting down php-fpm warning, no pid file found - php-fpm is not running ?
18 Installing Dependent for PHP...

Loaded plugins: fastestmirror, langpacks
20 Repository epel is listed more than once in the configuration
21 Loading mirror speeds from cached hostfile
22 Package c-ares-devel-1.10.0-3.el7.x86_64 already installed and latest version
23 Nothing to do
24 Loaded plugins: fastestmirror, langpacks
25 Repository epel is listed more than once in the configuration
26 Loading mirror speeds from cached hostfile
27 Package libicu-devel-50.2-4.el7_7.x86_64 already installed and latest version
28 Nothing to do
29 Loaded plugins: fastestmirror, langpacks
30 Repository epel is listed more than once in the configuration
31 Loading mirror speeds from cached hostfile
32 Package libxslt-1.1.28-6.el7.x86_64 already installed and latest version
33 Nothing to do
34 Loaded plugins: fastestmirror, langpacks
35 Repository epel is listed more than once in the configuration
36 Loading mirror speeds from cached hostfile
37 Package libxslt-devel-1.1.28-6.el7.x86_64 already installed and latest version
38 Nothing to do
39 Loaded plugins: fastestmirror, langpacks
40 Repository epel is listed more than once in the configuration
41 Loading mirror speeds from cached hostfile
42 Package xz-5.2.2-1.el7.x86_64 already installed and latest version
43 Nothing to do
44 Loaded plugins: fastestmirror, langpacks
45 Repository epel is listed more than once in the configuration
46 Loading mirror speeds from cached hostfile
47 Package expat-devel-2.1.0-12.el7.x86_64 already installed and latest version
48 Nothing to do
49 Loaded plugins: fastestmirror, langpacks
50 Repository epel is listed more than once in the configuration
51 Loading mirror speeds from cached hostfile
52 Package libzip-devel-0.10.1-8.el7.x86_64 already installed and latest version
53 Nothing to do
54 Loaded plugins: fastestmirror, langpacks
55 Repository epel is listed more than once in the configuration
56 Loading mirror speeds from cached hostfile
57 Package bzip2-1.0.6-13.el7.x86_64 already installed and latest version
58 Nothing to do
59 Loaded plugins: fastestmirror, langpacks
60 Repository epel is listed more than once in the configuration
61 Loading mirror speeds from cached hostfile
62 Package bzip2-devel-1.0.6-13.el7.x86_64 already installed and latest version
63 Nothing to do
64 Loaded plugins: fastestmirror, langpacks
65 Repository epel is listed more than once in the configuration
66 Loading mirror speeds from cached hostfile
67 Package sqlite-devel-3.7.17-8.el7_7.1.x86_64 already installed and latest version
68 Nothing to do
69 Loaded plugins: fastestmirror, langpacks
70 Repository epel is listed more than once in the configuration
71 Loading mirror speeds from cached hostfile
72 Package oniguruma-devel-6.8.2-1.el7.x86_64 already installed and latest version
73 Nothing to do

74 Loaded plugins: fastestmirror, langpacks
75 Repository epel is listed more than once in the configuration
76 Loading mirror speeds from cached hostfile
77 Package epel-release-7-14.noarch already installed and latest version
78 Nothing to do
79 Loaded plugins: fastestmirror, langpacks
80 Repository epel is listed more than once in the configuration
81 Loading mirror speeds from cached hostfile
82 Package oniguruma-6.8.2-1.el7.x86_64 already installed and latest version
83 Package oniguruma-devel-6.8.2-1.el7.x86_64 already installed and latest version
84 Nothing to do
85 ^[ Installing 7.4.27^[[0m
86 Uncompress php-7.4.27.tar.bz2...
87 cd php-7.4.27...
88 configure: WARNING: unrecognized options: --with-png, --without-libzip
89 checking for grep that handles long lines and -e... /usr/bin/grep
90 checking for egrep... /usr/bin/grep -E
91 checking for a sed that does not truncate output... /usr/bin/sed
92 checking build system type... x86_64-pc-linux-gnu
93 checking host system type... x86_64-pc-linux-gnu
94 checking target system type... x86_64-pc-linux-gnu
95 checking for pkg-config... /usr/bin/pkg-config
96 checking pkg-config is at least version 0.9.0... yes
97 checking for cc... cc
98 checking whether the C compiler works... yes
99 checking for C compiler default output file name... a.out
100 checking for suffix of executables...
101 checking whether we are cross compiling... no
102 checking for suffix of object files... o
103 checking whether we are using the GNU C compiler... yes
104 checking whether cc accepts -g... yes
105 checking for cc option to accept ISO C89... none needed
106 checking how to run the C preprocessor... cc -E
107 checking for icc... no
108 checking for suncc... no
109 checking how to run the C preprocessor... cc -E
110 checking for ANSI C header files... yes
111 checking for sys/types.h... yes
112 checking for sys/stat.h... yes
113 checking for stdlib.h... yes
114 checking for string.h... yes
115 checking for memory.h... yes
116 checking for strings.h... yes
117 checking for inttypes.h... yes
118 checking for stdint.h... yes
119 checking for unistd.h... yes
120 checking minix/config.h usability... no
121 checking minix/config.h presence... no
122 checking for minix/config.h... no
123 checking whether it is safe to define __EXTENSIONS__... yes
124 checking whether ln -s works... yes
125 checking for system library directory... lib
126 checking whether to enable runpaths... no
127 checking if compiler supports -R... no
128 checking if compiler supports -Wl,-rpath,... yes
129 checking for gawk... gawk
130 checking for bison... bison
131 checking for bison version... 3.0.4 (ok)
132 checking for re2c... re2c
133 checking for re2c version... 0.14.3 (ok)
134 checking whether to enable computed goto gcc extension with re2c... no
135 checking whether C compiler accepts -fvisibility=hidden... yes
136 checking whether to force non-PIC code in shared modules... no
137 checking whether /dev/urandom exists... yes
138 checking for global register variables support... yes
139 checking whether atof() accepts NAN... no
140 checking whether atof() accepts INF... no
141 checking whether HUGE_VAL == INF... yes
142 checking whether HUGE_VAL + -HUGEVAL == NAN... no
143 checking whether __cpuid_count is available... yes
144 checking for pthreads_cflags... -pthread
145 checking for pthreads_lib... pthread
146
147 ^[[1mConfiguring SAPI modules^[[m
148 checking for Apache 2 handler module support via DSO through APXS... no
149 checking for setproctitle... no
150 checking sys/pstat.h usability... no
151 checking sys/pstat.h presence... no
152 checking for sys/pstat.h... no
153 checking for PS_STRINGS... no
154 checking for CLI build... yes
155 checking for embedded SAPI library support... no

dfxlm 发表于 2022-1-7 10:33:38

156 checking for FPM build... yes
157 checking for clearenv... yes
158 checking for setproctitle... (cached) no
159 checking for setproctitle_fast... no
160 checking for library containing socket... none required
161 checking for library containing inet_addr... none required
162 checking for prctl... yes
163 checking for clock_gettime... yes
164 checking for ptrace... yes
165 checking whether ptrace works... yes
166 checking for proc mem file... mem
167 checking if gcc supports __sync_bool_compare_and_swap... yes
168 checking for TCP_INFO... yes
169 checking for sysconf... yes
170 checking for times... yes
171 checking for kqueue... no
172 checking for port framework... no
173 checking for /dev/poll... no
174 checking for epoll... yes
175 checking for select... yes
176 checking for apparmor... no
177 checking for LiteSpeed support... no
178 checking for phpdbg support... yes
179 checking for phpdbg web SAPI support... no
180 checking for phpdbg debug build... no
181 checking for phpdbg readline support... no
182 checking whether termios.h defines TIOCGWINSZ... no
183 checking whether sys/ioctl.h defines TIOCGWINSZ... yes
184 checking for phpdbg and readline integration... disabled
185 checking for CGI build... yes
186 checking for sun_len in sys/un.h... no
187 checking whether cross-process locking is required by accept()... no
188 checking for chosen SAPI module... none
189 checking for executable SAPI binaries...cli fpm phpdbg cgi
190
191 ^[[1mRunning system checks^[[m
192 checking for sendmail... /usr/sbin/sendmail
193 checking whether system uses EBCDIC... no
194 checking whether byte ordering is bigendian... no
195 checking whether writing to stdout works... This is the test message -- yes
196 checking for socket... yes
197 checking for socketpair... yes
198 checking for htonl... yes
199 checking for gethostname... yes
200 checking for gethostbyaddr... yes
201 checking for dlopen... no
202 checking for __dlopen... no
203 checking for dlopen in -ldl... yes
204 checking for dlsym... yes
205 checking for sin in -lm... yes
206 checking for inet_aton... yes
207 checking for inttypes.h... (cached) yes
208 checking for stdint.h... (cached) yes
209 checking for dirent.h... yes
210 checking for sys/param.h... yes
211 checking for sys/types.h... (cached) yes
212 checking for sys/time.h... yes
213 checking for netinet/in.h... yes
214 checking for alloca.h... yes
215 checking for arpa/inet.h... yes
216 checking for arpa/nameser.h... yes
217 checking for crypt.h... yes
218 checking for dns.h... no
219 checking for fcntl.h... yes
220 checking for grp.h... yes
221 checking for ieeefp.h... no
222 checking for langinfo.h... yes
223 checking for locale.h... yes
224 checking for malloc.h... yes
225 checking for monetary.h... yes
226 checking for netdb.h... yes
227 checking for poll.h... yes
228 checking for pwd.h... yes
229 checking for resolv.h... yes
230 checking for strings.h... (cached) yes
231 checking for syslog.h... yes
232 checking for sysexits.h... yes
233 checking for sys/auxv.h... yes
234 checking for sys/ioctl.h... yes
235 checking for sys/file.h... yes
236 checking for sys/mman.h... yes
237 checking for sys/mount.h... yes
238 checking for sys/poll.h... yes
239 checking for sys/resource.h... yes
240 checking for sys/select.h... yes
241 checking for sys/socket.h... yes
242 checking for sys/stat.h... (cached) yes
243 checking for sys/statfs.h... yes
244 checking for sys/statvfs.h... yes
245 checking for sys/vfs.h... yes
246 checking for sys/sysexits.h... no
247 checking for sys/uio.h... yes
248 checking for sys/wait.h... yes
249 checking for sys/loadavg.h... no
250 checking for termios.h... yes
251 checking for unistd.h... (cached) yes
252 checking for unix.h... no
253 checking for utime.h... yes
254 checking for sys/utsname.h... yes
255 checking for sys/ipc.h... yes
256 checking for dlfcn.h... yes
257 checking for tmmintrin.h... no
258 checking for nmmintrin.h... no
259 checking for immintrin.h... yes
260 checking for fopencookie... yes
261 checking for broken getcwd... no
262 checking for broken gcc optimize-strlen... no
263 checking whether struct tm is in sys/time.h or time.h... time.h
264 checking for struct tm.tm_zone... yes
265 checking for missing declarations of reentrant functions... done
266 checking for fclose declaration... ok
267 checking for struct flock... yes
268 checking for socklen_t... yes
269 checking size of intmax_t... 8
270 checking size of ssize_t... 8
271 checking size of ptrdiff_t... 8
272 checking size of short... 2
273 checking size of int... 4
274 checking size of long... 8
275 checking size of long long... 8
276 checking size of size_t... 8
277 checking size of off_t... 8
278 checking for int8... no
279 checking for int16... no
280 checking for int32... no
281 checking for int64... no
282 checking for int8_t... yes
283 checking for int16_t... yes
284 checking for int32_t... yes
285 checking for int64_t... yes
286 checking for uint8... no
287 checking for uint16... no
288 checking for uint32... no
289 checking for uint64... no
290 checking for uint8_t... yes
291 checking for uint16_t... yes
292 checking for uint32_t... yes
293 checking for uint64_t... yes
294 checking for u_int8_t... yes
295 checking for u_int16_t... yes
296 checking for u_int32_t... yes
297 checking for u_int64_t... yes
298 checking for __builtin_expect... yes
299 checking for __builtin_clz... yes
300 checking for __builtin_ctzl... yes
301 checking for __builtin_ctzll... yes
302 checking for __builtin_smull_overflow... no
303 checking for __builtin_smulll_overflow... no
304 checking for __builtin_saddl_overflow... no
305 checking for __builtin_saddll_overflow... no
306 checking for __builtin_ssubl_overflow... no
307 checking for __builtin_ssubll_overflow... no
308 checking for __builtin_cpu_init... yes
309 checking for __builtin_cpu_supports... yes
310 checking for ssse3 instructions supports... yes
311 checking for sse4.2 instructions supports... yes
312 checking for avx instructions supports... yes
313 checking for avx2 instructions supports... yes
314 checking for struct tm.tm_gmtoff... yes
315 checking for struct stat.st_blksize... yes
316 checking for struct stat.st_rdev... yes
317 checking for struct stat.st_blocks... yes
318 checking for size_t... yes
319 checking for uid_t in sys/types.h... yes
320 checking for struct sockaddr_storage... yes
321 checking for field sa_len in struct sockaddr... no
322 checking for __attribute__((ifunc))... yes
323 checking for __attribute__((target))... yes
324 checking for IPv6 support... yes
325 checking for alphasort... yes
326 checking for asctime_r... yes
327 checking for chroot... yes
328 checking for ctime_r... yes
329 checking for crypt... no
330 checking for explicit_memset... no
331 checking for flock... yes
332 checking for fpclass... no
333 checking for ftok... yes
334 checking for funopen... no
335 checking for gai_strerror... yes
336 checking for getcwd... yes
337 checking for getloadavg... yes
338 checking for getlogin... yes
339 checking for getprotobyname... yes
340 checking for getprotobynumber... yes
341 checking for getservbyname... yes
342 checking for getservbyport... yes
343 checking for getrusage... yes
344 checking for gettimeofday... yes
345 checking for gmtime_r... yes
346 checking for getpwnam_r... yes
347 checking for getgrnam_r... yes
348 checking for getpwuid_r... yes
349 checking for getwd... yes
350 checking for glob... yes
351 checking for grantpt... yes
352 checking for inet_ntoa... yes
353 checking for inet_ntop... yes
354 checking for inet_pton... yes
355 checking for localtime_r... yes
356 checking for lchown... yes
357 checking for mbrlen... yes
358 checking for memmove... yes
359 checking for mkstemp... yes
360 checking for mmap... yes
361 checking for nice... yes
362 checking for nl_langinfo... yes
363 checking for poll... yes
364 checking for ptsname... yes
365 checking for putenv... yes
366 checking for realpath... yes
367 checking for rand_r... yes
368 checking for scandir... yes
369 checking for setitimer... yes
370 checking for setenv... yes
371 checking for shutdown... yes
372 checking for sigprocmask... yes
373 checking for statfs... yes
374 checking for statvfs... yes
375 checking for std_syslog... no
376 checking for strcasecmp... yes
377 checking for strfmon... yes
378 checking for strnlen... yes
379 checking for strptime... yes
380 checking for strtok_r... yes
381 checking for symlink... yes
382 checking for tzset... yes
383 checking for unlockpt... yes
384 checking for unsetenv... yes
385 checking for usleep... yes
386 checking for utime... yes
387 checking for vasprintf... yes
388 checking for asprintf... yes
389 checking for nanosleep... yes
390 checking for memmem... yes
391 checking how many arguments gethostbyname_r() takes... six
392 checking for nanosleep in -lrt... yes
393 checking for getaddrinfo... yes
394 checking for __sync_fetch_and_add... yes
395 checking for strlcat... no
396 checking for strlcpy... no
397 checking for explicit_bzero... no
398 checking for getopt... yes



dfxlm 发表于 2022-1-7 10:35:11


415 checking where to scan for configuration files... /usr/local/php/conf.d
....
824 config.status: executing default commands
825
826 +--------------------------------------------------------------------+
827 | License:                                                         |
828 | This software is subject to the PHP License, available in this   |
829 | distribution in the file LICENSE. By continuing this installation|
830 | process, you are bound by the terms of this license agreement.   |
831 | If you do not agree with the terms of this license, you must abort |
832 | the installation process at this point.                            |
833 +--------------------------------------------------------------------+
834
835 Thank you for using PHP.
836
837 configure: WARNING: unrecognized options: --with-png, --without-libzip
838 /bin/sh /root/lnmp1.7/src/php-7.4.27/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/root/lnmp1.7/src/php-7.4.27/ext/opcache/ -DPHP_ATOM_INC -I/root/lnmp1.7/src/php-7.4.27   /include -I/root/lnmp1.7/src/php-7.4.27/main -I/root/lnmp1.7/src/php-7.4.27 -I/root/lnmp1.7/src/php-7.4.27/ext/date/lib -I/usr/include/libxml2 -I/usr/include/libpng15 -I/usr/include/freetype2 -I/root/lnmp1.7/src/php-7.4.27/ext/mbstr   ing/libmbfl -I/root/lnmp1.7/src/php-7.4.27/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.7/src/php-7.4.27/TSRM -I/root/lnmp1.7/src/php-7.4.27/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden -Wall -Wno-strict-a   liasing -DZEND_SIGNALS    -c /root/lnmp1.7/src/php-7.4.27/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
....
2672 ext/openssl/.libs/openssl.o: In function `php_openssl_pkey_init_dh':
2673 /root/lnmp1.7/src/php-7.4.27/ext/openssl/openssl.c:4347: undefined reference to `DH_set0_pqg'
....

2953 ext/iconv/.libs/iconv.o: In function `php_iconv_string':
2954 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:559: undefined reference to `libiconv_open'
2955 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:568: undefined reference to `libiconv'
2956 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:584: undefined reference to `libiconv'
2957 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:594: undefined reference to `libiconv_close'
2958 ext/iconv/.libs/iconv.o: In function `_php_iconv_strpos':
2959 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:979: undefined reference to `libiconv_open'
2960 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:1007: undefined reference to `libiconv'
2961 /root/lnmp1.7/src/php-7.4.27/ext/iconv/iconv.c:1122: undefined reference to `libiconv_close'
2962 ext/openssl/.libs/xp_ssl.o: In function `php_openssl_create_sni_server_ctx':
2963 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1362: undefined reference to `TLS_server_method'
2964 ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
2965 /usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
2966 ext/openssl/.libs/xp_ssl.o: In function `sk_X509_value':
2967 /usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_value'
2968 ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
2969 /usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'

2968 ext/openssl/.libs/xp_ssl.o: In function `sk_X509_num':
2969 /usr/local/include/openssl/x509.h:99: undefined reference to `OPENSSL_sk_num'
2970 ext/openssl/.libs/xp_ssl.o: In function `php_openssl_setup_crypto':
2971 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_server_method'
2972 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1677: undefined reference to `SSL_CTX_set_security_level'
2973 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1620: undefined reference to `TLS_client_method'
2974 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1714: undefined reference to `SSL_CTX_set_options'
2975 ext/openssl/.libs/xp_ssl.o: In function `php_openssl_set_server_specific_opts':
2976 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1293: undefined reference to `SSL_CTX_get_options'
2977 /root/lnmp1.7/src/php-7.4.27/ext/openssl/xp_ssl.c:1320: undefined reference to `SSL_CTX_set_options'
2978 ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_num':
2979 /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_num'
2980 ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_value':
2981 /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_value'
2982 ext/openssl/.libs/xp_ssl.o: In function `sk_GENERAL_NAME_pop_free':
2983 /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
2984 /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
2985 /usr/local/include/openssl/x509v3.h:166: undefined reference to `OPENSSL_sk_pop_free'
2986 ext/ftp/.libs/ftp.o: In function `ftp_login':
2987 /root/lnmp1.7/src/php-7.4.27/ext/ftp/ftp.c:280: undefined reference to `TLS_client_method'
2988 /root/lnmp1.7/src/php-7.4.27/ext/ftp/ftp.c:289: undefined reference to `SSL_CTX_set_options'
2989 ext/gd/libgd/.libs/gdkanji.o: In function `do_convert':
2990 /root/lnmp1.7/src/php-7.4.27/ext/gd/libgd/gdkanji.c:347: undefined reference to `libiconv_open'
2991 /root/lnmp1.7/src/php-7.4.27/ext/gd/libgd/gdkanji.c:360: undefined reference to `libiconv'
2992 /root/lnmp1.7/src/php-7.4.27/ext/gd/libgd/gdkanji.c:374: undefined reference to `libiconv_close'
2993 ext/phar/.libs/util.o: In function `phar_verify_signature':
2994 /root/lnmp1.7/src/php-7.4.27/ext/phar/util.c:1559: undefined reference to `EVP_MD_CTX_new'
2995 /root/lnmp1.7/src/php-7.4.27/ext/phar/util.c:1593: undefined reference to `EVP_MD_CTX_free'
2996 /root/lnmp1.7/src/php-7.4.27/ext/phar/util.c:1583: undefined reference to `EVP_MD_CTX_free'
2997 ext/phar/.libs/util.o: In function `phar_create_signature':
2998 /root/lnmp1.7/src/php-7.4.27/ext/phar/util.c:1839: undefined reference to `EVP_MD_CTX_new'
2999 /root/lnmp1.7/src/php-7.4.27/ext/phar/util.c:1875: undefined reference to `EVP_MD_CTX_free'
3000 ext/xmlrpc/libxmlrpc/.libs/encodings.o: In function `convert':
3001 /root/lnmp1.7/src/php-7.4.27/ext/xmlrpc/libxmlrpc/encodings.c:63: undefined reference to `libiconv_open'
3002 /root/lnmp1.7/src/php-7.4.27/ext/xmlrpc/libxmlrpc/encodings.c:70: undefined reference to `libiconv'
3003 /root/lnmp1.7/src/php-7.4.27/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'
3004 /root/lnmp1.7/src/php-7.4.27/ext/xmlrpc/libxmlrpc/encodings.c:86: undefined reference to `libiconv_close'
3005 collect2: error: ld returned 1 exit status
3006 make: *** Error 1
3007 Copy new php configure file...
3008 Modify php.ini......
3009 include/php.sh: line 86: pear: command not found
3010 include/php.sh: line 87: pecl: command not found
3011 Downloading Composer...
3012 --2022-01-07 10:13:44--https://soft.vpser.net/web/php/composer/composer.phar
3013 Resolving soft.vpser.net (soft.vpser.net)... 81.70.180.148
3014 Connecting to soft.vpser.net (soft.vpser.net)|81.70.180.148|:443... connected.
3015 HTTP request sent, awaiting response... 302 Moved Temporarily
3016 Location: http://175.6.32.4:88/soft/web/php/composer/composer.phar
3017 --2022-01-07 10:13:45--http://175.6.32.4:88/soft/web/php/composer/composer.phar
3018 Connecting to 175.6.32.4:88... connected.
3019 HTTP request sent, awaiting response... 200 OK
3020 Length: 2354438 (2.2M)
3021 Saving to: ‘/usr/local/bin/composer’
3022
3023      0K .......... .......... .......... .......... ..........2%372K 6s
3068   2250K .......... .......... .......... .......... ......... 100%274M=0.3s
3069
3070 2022-01-07 10:13:45 (8.14 MB/s) - ‘/usr/local/bin/composer’ saved
3071
3072 Composer install successfully.
3073 Install ZendGuardLoader for PHP 7...
3074 unavailable now.
3075 Creating new php-fpm configure file...
3076 Copy php-fpm init.d file...
3077 +-------------------------------------------+
3078 |    Manager for LNMP, Written by Licess    |
3079 +-------------------------------------------+
3080 |            https://lnmp.org             |
3081 +-------------------------------------------+1
3082 Starting LNMP...
3083 Starting nginx...done
3084 Starting MySQL. SUCCESS!
3085 Starting php-fpm /etc/init.d/php-fpm: line 57: /usr/local/php/sbin/php-fpm: No such file or directory
3086failed
3087 ^[[0;31m======== upgrade php failed ======^[[0m
3088 ^[[0;31mupgrade php log: /root/upgrade_lnmp_php.log^[[0m
3089 You upload upgrade_lnmp_php.log to LNMP Forum for help.

dfxlm 发表于 2022-1-7 11:10:15

当前php版本:
PHP 7.4.11 (cli) (built: Oct 22 2020 18:51:23) ( NTS )
Copyright (c) The PHP Group
Zend Engine v3.4.0, Copyright (c) Zend Technologies

licess 发表于 2022-1-7 16:27:42

你系统上的openssl自行升级过吧
页: [1]
查看完整版本: lnmp1.7升级7.4.27失败