ningguoteng 发表于 2021-1-21 17:39:28

求助 树莓派4b最新系统安装php5.6失败

+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...done
Gracefully shutting down php-fpm . done
Notice: php-5.6.40.tar.bz2 not found!!!download now...
--2021-01-21 17:10:52--https://soft.vpser.net/web/php/php-5.6.40.tar.bz2
正在解析主机 soft.vpser.net (soft.vpser.net)... 112.85.42.41
正在连接 soft.vpser.net (soft.vpser.net)|112.85.42.41|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:15061249 (14M)
正在保存至: “php-5.6.40.tar.bz2”

php-5.6.40.tar.bz2    0%[                  ]       0--.-KB/s               
php-5.6.40.tar.bz2    1%[                  ] 263.75K1.29MB/s               
php-5.6.40.tar.bz2    3%[                  ] 455.75K1014KB/s               
php-5.6.40.tar.bz2    4%[                  ] 695.75K   994KB/s               
php-5.6.40.tar.bz2    6%[>                   ] 887.75K   986KB/s               
php-5.6.40.tar.bz2    6%[>                   ]   1024K   930KB/s               
php-5.6.40.tar.bz2    8%[>                   ]   1.19M   935KB/s               
php-5.6.40.tar.bz2    9%[>                   ]   1.37M   932KB/s               
php-5.6.40.tar.bz2   10%[=>                  ]   1.54M   926KB/s               
php-5.6.40.tar.bz2   11%[=>                  ]   1.67M   900KB/s               
php-5.6.40.tar.bz2   12%[=>                  ]   1.85M   882KB/s               
php-5.6.40.tar.bz2   14%[=>                  ]   2.04M   888KB/s               
php-5.6.40.tar.bz2   15%[==>               ]   2.21M   888KB/s               
php-5.6.40.tar.bz2   16%[==>               ]   2.37M   881KB/s               
php-5.6.40.tar.bz2   17%[==>               ]   2.55M   886KB/s               
php-5.6.40.tar.bz2   18%[==>               ]   2.71M   881KB/s剩余 14s   
php-5.6.40.tar.bz2   19%[==>               ]   2.87M   842KB/s剩余 14s   
php-5.6.40.tar.bz2   21%[===>                ]   3.05M   834KB/s剩余 14s   
php-5.6.40.tar.bz2   22%[===>                ]   3.24M   835KB/s剩余 14s   
php-5.6.40.tar.bz2   23%[===>                ]   3.43M   854KB/s剩余 14s   
php-5.6.40.tar.bz2   25%[====>               ]   3.66M   871KB/s剩余 12s   
php-5.6.40.tar.bz2   27%[====>               ]   3.88M   890KB/s剩余 12s   
php-5.6.40.tar.bz2   28%[====>               ]   4.08M   894KB/s剩余 12s   
php-5.6.40.tar.bz2   30%[=====>            ]   4.32M   902KB/s剩余 12s   
php-5.6.40.tar.bz2   31%[=====>            ]   4.56M   938KB/s剩余 12s   
php-5.6.40.tar.bz2   33%[=====>            ]   4.76M   927KB/s剩余 11s   
php-5.6.40.tar.bz2   34%[=====>            ]   4.93M   931KB/s剩余 11s   
php-5.6.40.tar.bz2   35%[======>             ]   5.10M   940KB/s剩余 11s   
php-5.6.40.tar.bz2   36%[======>             ]   5.27M   945KB/s剩余 11s   
php-5.6.40.tar.bz2   38%[======>             ]   5.49M   937KB/s剩余 11s   
php-5.6.40.tar.bz2   39%[======>             ]   5.69M   958KB/s剩余 10s   
php-5.6.40.tar.bz2   40%[=======>            ]   5.87M   960KB/s剩余 10s   
php-5.6.40.tar.bz2   42%[=======>            ]   6.07M   970KB/s剩余 10s   
php-5.6.40.tar.bz2   43%[=======>            ]   6.25M   971KB/s剩余 10s   
php-5.6.40.tar.bz2   44%[=======>            ]   6.42M   977KB/s剩余 10s   
php-5.6.40.tar.bz2   46%[========>         ]   6.65M   984KB/s剩余 9s      
php-5.6.40.tar.bz2   47%[========>         ]   6.82M   965KB/s剩余 9s      
php-5.6.40.tar.bz2   49%[========>         ]   7.04M   953KB/s剩余 9s      
php-5.6.40.tar.bz2   50%[=========>          ]   7.21M   946KB/s剩余 9s      
php-5.6.40.tar.bz2   51%[=========>          ]   7.38M   913KB/s剩余 9s      
php-5.6.40.tar.bz2   52%[=========>          ]   7.61M   924KB/s剩余 7s      
php-5.6.40.tar.bz2   54%[=========>          ]   7.79M   927KB/s剩余 7s      
php-5.6.40.tar.bz2   55%[==========>         ]   8.01M   954KB/s剩余 7s      
php-5.6.40.tar.bz2   56%[==========>         ]   8.16M   951KB/s剩余 7s      
php-5.6.40.tar.bz2   58%[==========>         ]   8.37M   940KB/s剩余 7s      
php-5.6.40.tar.bz2   59%[==========>         ]   8.54M   943KB/s剩余 6s      
php-5.6.40.tar.bz2   60%[===========>      ]   8.76M   947KB/s剩余 6s      
php-5.6.40.tar.bz2   62%[===========>      ]   8.93M   931KB/s剩余 6s      
php-5.6.40.tar.bz2   63%[===========>      ]   9.15M   945KB/s剩余 6s      
php-5.6.40.tar.bz2   65%[============>       ]   9.35M   932KB/s剩余 6s      
php-5.6.40.tar.bz2   66%[============>       ]   9.58M   944KB/s剩余 5s      
php-5.6.40.tar.bz2   67%[============>       ]   9.76M   953KB/s剩余 5s      
php-5.6.40.tar.bz2   69%[============>       ]   9.96M   945KB/s剩余 5s      
php-5.6.40.tar.bz2   70%[=============>      ]10.13M   949KB/s剩余 5s      
php-5.6.40.tar.bz2   71%[=============>      ]10.32M   940KB/s剩余 5s      
php-5.6.40.tar.bz2   73%[=============>      ]10.52M   933KB/s剩余 4s      
php-5.6.40.tar.bz2   74%[=============>      ]10.71M   931KB/s剩余 4s      
php-5.6.40.tar.bz2   75%[==============>   ]10.91M   918KB/s剩余 4s      
php-5.6.40.tar.bz2   77%[==============>   ]11.08M   928KB/s剩余 4s      
php-5.6.40.tar.bz2   78%[==============>   ]11.31M   942KB/s剩余 4s      
php-5.6.40.tar.bz2   80%[===============>    ]11.50M   947KB/s剩余 3s      
php-5.6.40.tar.bz2   81%[===============>    ]11.73M   955KB/s剩余 3s      
php-5.6.40.tar.bz2   82%[===============>    ]11.91M   955KB/s剩余 3s      
php-5.6.40.tar.bz2   84%[===============>    ]12.12M   965KB/s剩余 3s      
php-5.6.40.tar.bz2   85%[================>   ]12.33M   956KB/s剩余 3s      
php-5.6.40.tar.bz2   86%[================>   ]12.49M   951KB/s剩余 2s      
php-5.6.40.tar.bz2   88%[================>   ]12.71M   960KB/s剩余 2s      
php-5.6.40.tar.bz2   89%[================>   ]12.90M   960KB/s剩余 2s      
php-5.6.40.tar.bz2   90%[=================>]13.07M   950KB/s剩余 2s      
php-5.6.40.tar.bz2   92%[=================>]13.27M   969KB/s剩余 2s      
php-5.6.40.tar.bz2   93%[=================>]13.48M   977KB/s剩余 1s      
php-5.6.40.tar.bz2   95%[==================> ]13.66M   974KB/s剩余 1s      
php-5.6.40.tar.bz2   96%[==================> ]13.87M   975KB/s剩余 1s      
php-5.6.40.tar.bz2   97%[==================> ]14.05M   968KB/s剩余 1s      
php-5.6.40.tar.bz2   99%[==================> ]14.28M   980KB/s剩余 1s      
php-5.6.40.tar.bz2100%[===================>]14.36M   990KB/s用时 16s   

2021-01-21 17:11:08 (943 KB/s) - 已保存 “php-5.6.40.tar.bz2” )

 Installing php-5.6.40
Uncompress php-5.6.40.tar.bz2...
cd php-5.6.40...
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for a sed that does not truncate output... /usr/bin/sed
checking build system type... armv7l-unknown-linux-gnueabihf
checking host system type... armv7l-unknown-linux-gnueabihf
checking target system type... armv7l-unknown-linux-gnueabihf
checking for cc... cc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether cc accepts -g... yes
checking for cc option to accept ISO C89... none needed
checking how to run the C preprocessor... cc -E
checking for icc... no
checking for suncc... no
checking whether cc understands -c and -o together... yes
checking how to run the C preprocessor... cc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking minix/config.h usability... no
checking minix/config.h presence... no
checking for minix/config.h... no
checking whether it is safe to define __EXTENSIONS__... yes
checking whether ln -s works... yes
checking for system library directory... lib
checking whether to enable runpaths... no
checking if compiler supports -R... no
checking if compiler supports -Wl,-rpath,... yes
checking for gawk... gawk
checking for bison... bison -y
checking for bison version... 3.3 (ok)
checking for re2c... re2c
checking for re2c version... 1.1.1 (ok)
checking whether to enable computed goto gcc extension with re2c... no
checking whether to force non-PIC code in shared modules... no
checking whether /dev/urandom exists... yes
checking for pthreads_cflags... -pthread
checking for pthreads_lib...

licess 发表于 2021-1-22 08:17:09

最新官网系统raspberry pi os的话是基于debian 10的,是安装不了php 5.6的,https://lnmp.org/install.html 安装要求上有说明

ningguoteng 发表于 2021-1-21 17:39:55


Configuring SAPI modules
checking for AOLserver support... no
checking for Apache 1.x module support via DSO through APXS... no
checking for Apache 1.x module support... no
checking whether to enable Apache charset compatibility option... no
checking for Apache 2.0 filter-module support via DSO through APXS... no
checking for Apache 2.0 handler-module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support via DSO through APXS... no
checking for Apache 1.x (hooks) module support... no
checking whether to enable Apache charset compatibility option... no
checking for Caudium support... no
checking for setproctitle... no
checking sys/pstat.h usability... no
checking sys/pstat.h presence... no
checking for sys/pstat.h... no
checking for PS_STRINGS... no
checking for CLI build... yes
checking for Continuity support... no
checking for embedded SAPI library support... no
checking for FPM build... yes
checking for setenv... yes
checking for clearenv... yes
checking for setproctitle... (cached) no
checking for library containing socket... none required
checking for library containing inet_addr... none required
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for stdlib.h... (cached) yes
checking for unistd.h... (cached) yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/select.h usability... yes
checking sys/select.h presence... yes
checking for sys/select.h... yes
checking sys/socket.h usability... yes
checking sys/socket.h presence... yes
checking for sys/socket.h... yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking netinet/in.h usability... yes
checking netinet/in.h presence... yes
checking for netinet/in.h... yes
checking sysexits.h usability... yes
checking sysexits.h presence... yes
checking for sysexits.h... yes
checking for prctl... yes
checking for clock_gettime... yes
checking for ptrace... yes
checking whether ptrace works... yes
checking for proc mem file... mem
checking if gcc supports __sync_bool_compare_and_swap... yes
checking for TCP_INFO... yes
checking for sysconf... yes
checking for times... yes
checking for kqueue... no
checking for port framework... no
checking for /dev/poll... no
checking for epoll... yes
checking for poll... yes
checking for select... yes
checking for apparmor... no
checking for Zeus ISAPI support... no
checking for LiteSpeed support... no
checking for Milter support... no
checking for NSAPI support... no
checking for phpdbg support... no
checking for phpdbg debug build... no
checking for PHTTPD support... no
checking for Pi3Web support... no
checking whether Roxen module is build using ZTS... no
checking for Roxen/Pike support...
checking for thttpd... no
checking for TUX... no
checking for webjames... no
checking for CGI build... yes
checking for socklen_t in sys/socket.h... yes
checking for sun_len in sys/un.h... no
checking whether cross-process locking is required by accept()... no
checking for chosen SAPI module... none
checking for executable SAPI binaries...cli fpm cgi

Running system checks
checking for sendmail... no
checking whether system uses EBCDIC... no
checking whether byte ordering is bigendian... no
checking whether writing to stdout works... This is the test message -- yes
checking for socket... yes
checking for socketpair... yes
checking for htonl... yes
checking for gethostname... yes
checking for gethostbyaddr... yes
checking for yp_get_default_domain... no
checking for __yp_get_default_domain... no
checking for yp_get_default_domain in -lnsl... yes
checking for dlopen... no
checking for __dlopen... no
checking for dlopen in -ldl... yes
checking for sin in -lm... yes
checking for inet_aton... yes
checking for ANSI C header files... (cached) yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for dirent.h... yes
checking for ApplicationServices/ApplicationServices.h... no
checking for sys/param.h... yes
checking for sys/types.h... (cached) yes
checking for sys/time.h... (cached) yes
checking for netinet/in.h... (cached) yes
checking for alloca.h... yes
checking for arpa/inet.h... (cached) yes
checking for arpa/nameser.h... yes
checking for assert.h... yes
checking for crypt.h... yes
checking for dns.h... no
checking for fcntl.h... (cached) yes
checking for grp.h... yes
checking for ieeefp.h... no
checking for langinfo.h... yes
checking for limits.h... yes
checking for locale.h... yes
checking for monetary.h... yes
checking for netdb.h... yes
checking for pwd.h... yes
checking for resolv.h... yes
checking for signal.h... yes
checking for stdarg.h... yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for syslog.h... yes
checking for sysexits.h... (cached) yes
checking for sys/ioctl.h... yes
checking for sys/file.h... yes
checking for sys/mman.h... yes
checking for sys/mount.h... yes
checking for sys/poll.h... yes
checking for sys/resource.h... yes
checking for sys/select.h... (cached) yes
checking for sys/socket.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking for sys/statfs.h... yes
checking for sys/statvfs.h... yes
checking for sys/vfs.h... yes
checking for sys/sysexits.h... no
checking for sys/varargs.h... no
checking for sys/wait.h... yes
checking for sys/loadavg.h... no
checking for termios.h... yes
checking for unistd.h... (cached) yes
checking for unix.h... no
checking for utime.h... yes
checking for sys/utsname.h... yes
checking for sys/ipc.h... yes
checking for dlfcn.h... yes
checking for assert.h... (cached) yes
checking for fopencookie... yes
checking for broken getcwd... no
checking for broken libc stdio... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for struct tm.tm_zone... yes
checking for missing declarations of reentrant functions... done
checking for fclose declaration... ok
checking for tm_gmtoff in struct tm... yes
checking for struct flock... yes
checking for socklen_t... yes
checking size of size_t... 4
checking size of long long... 8
checking size of long long int... 8
checking size of long... 4
checking size of int... 4
checking size of intmax_t... 8
checking size of ssize_t... 4
checking size of ptrdiff_t... 4
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for int8... no
checking for int16... no
checking for int32... no
checking for int64... no
checking for int8_t... yes
checking for int16_t... yes
checking for int32_t... yes
checking for int64_t... yes
checking for uint8... no
checking for uint16... no
checking for uint32... no
checking for uint64... no
checking for uint8_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint64_t... yes
checking for u_int8_t... yes
checking for u_int16_t... yes
checking for u_int32_t... yes
checking for u_int64_t... yes
checking for struct stat.st_blksize... yes
checking for struct stat.st_blocks... yes
checking for struct stat.st_rdev... yes
checking for size_t... yes
checking for uid_t in sys/types.h... yes
checking for struct sockaddr_storage... yes
checking for field sa_len in struct sockaddr... no
checking for IPv6 support... yes
checking for vprintf... yes
checking for _doprnt... no
checking for alphasort... yes
checking for asctime_r... yes
checking for chroot... yes
checking for ctime_r... yes
checking for cuserid... yes
checking for crypt... no
checking for flock... yes
checking for ftok... yes
checking for funopen... no
checking for gai_strerror... yes
checking for gcvt... yes
checking for getloadavg... yes
checking for getlogin... yes
checking for getprotobyname... yes

ningguoteng 发表于 2021-1-21 17:40:32

checking for getprotobynumber... yes
checking for getservbyname... yes
checking for getservbyport... yes
checking for gethostname... (cached) yes
checking for getrusage... yes
checking for gettimeofday... yes
checking for gmtime_r... yes
checking for getpwnam_r... yes
checking for getgrnam_r... yes
checking for getpwuid_r... yes
checking for grantpt... yes
checking for inet_ntoa... yes
checking for inet_ntop... yes
checking for inet_pton... yes
checking for isascii... yes
checking for link... yes
checking for localtime_r... yes
checking for lockf... yes
checking for lchown... yes
checking for lrand48... yes
checking for memcpy... yes
checking for memmove... yes
checking for mkstemp... yes
checking for mmap... yes
checking for nl_langinfo... yes
checking for perror... yes
checking for poll... yes
checking for ptsname... yes
checking for putenv... yes
checking for realpath... yes
checking for random... yes
checking for rand_r... yes
checking for scandir... yes
checking for setitimer... yes
checking for setlocale... yes
checking for localeconv... yes
checking for setenv... (cached) yes
checking for setpgid... yes
checking for setsockopt... yes
checking for setvbuf... yes
checking for shutdown... yes
checking for sin... yes
checking for snprintf... yes
checking for srand48... yes
checking for srandom... yes
checking for statfs... yes
checking for statvfs... yes
checking for std_syslog... no
checking for strcasecmp... yes
checking for strcoll... yes
checking for strdup... yes
checking for strerror... yes
checking for strftime... yes
checking for strnlen... yes
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes
checking for symlink... yes
checking for tempnam... yes
checking for tzset... yes
checking for unlockpt... yes
checking for unsetenv... yes
checking for usleep... yes
checking for utime... yes
checking for vsnprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for nanosleep... yes
checking for nanosleep in -lrt... yes
checking for getaddrinfo... yes
checking for __sync_fetch_and_add... yes
checking for strlcat... no
checking for strlcpy... no
checking for getopt... yes
checking for utime.h... (cached) yes
checking whether utime accepts a null argument... yes
checking for working alloca.h... yes
checking for alloca... yes
checking for declared timezone... yes
checking for type of reentrant time-related functions... POSIX
checking for readdir_r... yes
checking for type of readdir_r... POSIX
checking for in_addr_t... yes
checking for crypt_r... no

General settings
checking whether to include gcov symbols... no
checking whether to include debugging symbols... no
checking layout of installed files... PHP
checking path to configuration file... /usr/local/php5.6/etc
checking where to scan for configuration files... /usr/local/php5.6/conf.d
checking whether to enable PHP's own SIGCHLD handler... no
checking whether to explicitly link against libgcc... no
checking whether to enable short tags by default... yes
checking whether to enable dmalloc... no
checking whether to enable IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking size of long... (cached) 4
checking size of int... (cached) 4
checking for int32_t... yes
checking for uint32_t... yes
checking for sys/types.h... (cached) yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking for string.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for strtoll... yes
checking for atoll... yes
checking for strftime... (cached) yes
checking which regex library to use... php
checking whether to enable LIBXML support... yes
checking libxml2 install dir... /usr
checking for xml2-config path... /usr/bin/xml2-config
checking whether libxml build works... yes
checking for OpenSSL support... yes
checking for Kerberos support... no
checking whether to use system default cipher list instead of hardcoded value... no
checking for DSA_get_default_method in -lssl... no
checking for X509_free in -lcrypto... yes
checking for RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... yes
checking for SSL_CTX_set_ssl_version in -lssl... yes
checking for PCRE library to use... bundled
checking whether to enable the SQLite3 extension... yes
checking bundled sqlite3 library... yes
checking for ZLIB support... yes
checking if the location of ZLIB install directory is defined... no
checking for zlib version >= 1.2.0.4... 1.2.11
checking for gzgets in -lz... yes
checking whether to enable bc style precision math functions... yes
checking for BZip2 support... no
checking whether to enable calendar conversion support... no
checking whether to enable ctype functions... yes
checking for cURL support... yes
checking for cURL 7.10.5 or greater... libcurl 7.62.0
checking for SSL support in libcurl... yes
checking how to run the C preprocessor... cc -E
checking for openssl support in libcurl... yes
checking openssl/crypto.h usability... yes
checking openssl/crypto.h presence... yes
checking for openssl/crypto.h... yes
checking for gnutls support in libcurl... no
checking for curl_easy_perform in -lcurl... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
checking for QDBM support... no
checking for GDBM support... no
checking for NDBM support... no
checking for TCADB support... no
checking for Berkeley DB4 support... no
checking for Berkeley DB3 support... no
checking for Berkeley DB2 support... no
checking for DB1 support... no
checking for DBM support... no
checking for CDB support... no
checking for INI File support... no
checking for FlatFile support... no
checking whether to enable DBA interface... no
checking whether to enable DOM support... yes
checking for xml2-config path... (cached) /usr/bin/xml2-config
checking whether libxml build works... (cached) yes
checking for ENCHANT support... no
checking whether to enable EXIF (metadata from images) support... no
checking for fileinfo support... yes
checking for strcasestr... yes
checking for utimes... yes
checking for strndup... yes
checking whether to enable input filter support... yes
checking pcre install prefix... no
checking whether to enable FTP support... yes
checking OpenSSL dir for FTP... no
checking for OpenSSL version... >= 0.9.6
checking for CRYPTO_free in -lcrypto... (cached) yes
checking for SSL_CTX_set_ssl_version in -lssl... (cached) yes
checking for GD support... yes
checking for the location of libvpx... no
checking for the location of libjpeg... yes
checking for the location of libpng... yes
checking for the location of libXpm... no
checking for FreeType 2... /usr/local/freetype
checking for T1lib support... no
checking whether to enable truetype string function in GD... yes
checking whether to enable JIS-mapped Japanese font support in GD... no
If configure fails try --with-vpx-dir=<DIR>
checking for jpeg_read_header in -ljpeg... yes
checking for png_write_image in -lpng... yes
If configure fails try --with-xpm-dir=<DIR>
checking for fabsf... yes

ningguoteng 发表于 2021-1-21 17:40:42

checking for floorf... yes
checking for GNU gettext support... yes
checking for bindtextdomain in -lintl... no
checking for bindtextdomain in -lc... yes
checking for ngettext in -lc... yes
checking for dngettext in -lc... yes
checking for dcngettext in -lc... yes
checking for bind_textdomain_codeset in -lc... yes
checking for GNU MP support... no
checking for mhash support... yes
checking whether to enable hash support... yes
checking whether byte ordering is bigendian... (cached) no
checking size of short... (cached) 2
checking size of int... (cached) 4
checking size of long... (cached) 4
checking size of long long... (cached) 8
checking for iconv support... yes
checking for iconv... yes
checking if iconv is glibc's... yes
checking if iconv supports errno... no
checking if iconv supports //IGNORE... no
checking if your cpp allows macro usage in include lines... yes
checking for IMAP support... no
checking for IMAP Kerberos support... no
checking for IMAP SSL support... no
checking for InterBase support... no
checking whether to enable internationalization support... yes
checking for icu-config... no
checking for location of ICU headers and libraries... not found
configure: error: Unable to detect ICU prefix or no failed. Please verify ICU install prefix and make sure icu-config works.
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有指明目标并且找不到 makefile。 停止。
make: *** 没有规则可制作目标“install”。 停止。
Copy new php configure file...
Modify php.ini......
Install ZendGuardLoader for PHP 5.6...
Notice:not found!!!download now...
--2021-01-21 17:12:27--https://soft.vpser.net/web/zend/zend-loader-php5.6-linux-i386.tar.gz
正在解析主机 soft.vpser.net (soft.vpser.net)... 183.131.200.87, 183.131.200.92, 183.131.200.105, ...
正在连接 soft.vpser.net (soft.vpser.net)|183.131.200.87|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 200 OK
长度:616325 (602K)
正在保存至: “zend-loader-php5.6-linux-i386.tar.gz”

          zend-load   0%[                  ]       0--.-KB/s               
         zend-loade93%[=================>] 562.67K2.68MB/s               
zend-loader-php5.6- 100%[===================>] 601.88K2.47MB/s用时 0.2s   

2021-01-21 17:12:28 (2.47 MB/s) - 已保存 “zend-loader-php5.6-linux-i386.tar.gz” )

Write ZendGuardLoader to php.ini...
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: 无法获取'/root/lnmp1.7/src/php-5.6.40/sapi/fpm/init.d.php-fpm' 的文件状态(stat): 没有那个文件或目录
chmod: 无法访问'/etc/init.d/php-fpm5.6': 没有那个文件或目录
Add php-fpm5.6 service at system startup...
update-rc.d: error: initscript does not exist: /etc/init.d/php-fpm5.6
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|            https://lnmp.org             |
+-------------------------------------------+
Starting LNMP...
Starting nginx...done
Starting php-fpmdone
Failed to install php-5.6.40, you can download /root/install-mphp5.6.log from your server, and upload install-mphp5.6.log to LNMP Forum.

ptkid 发表于 2021-1-27 11:52:27

貌似最新的树莓派系统只支持PHP7以上的版本
页: [1]
查看完整版本: 求助 树莓派4b最新系统安装php5.6失败