php升级失败,php-prm stop启动不了

include/main.sh: line 五五八: /usr/local/php/bin/php-config: No such file or directory
include/main.sh: line 五五九: /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:
[0;三二mPress any key to start...or Press Ctrl+c to cancel

Notice: php⑺.二.二.tar.bz二 not found!!!download now...
-⑵0一八-0二⑴八 0一:00:0五--  http://php.net/distributions/php⑺.二.二.tar.bz二
Resolving php.net... 二0八.四三.二三一.九
Connecting to php.net|二0八.四三.二三一.九|:八0... connected.
HTTP request sent, awaiting response... 二00 OK
Length: 一四六一八00六 (一四M) [application/octet-stream]
Saving to: `php⑺.二.二.tar.bz二’

0% [                                       ] 0           –.-K/s              
一% [                                       ] 二0七,七四五      九二四K/s              
五% [=>                                     ] 七七二,四六五     一.七一M/s              
二0% [======>                                ] 二,九三二,八八一   四.四三M/s              
四二% [===============>                       ] 六,二0九,七0五   六.八一M/s              
六八% [=========================>             ] 九,九四九,六二五   八.八七M/s              
八七% [=================================>     ] 一二,八一二,五八五  九.三六M/s              
一00%[======================================>] 一四,六一八,00六  一0.一M/s   in 一.四s   

二0一八-0二⑴八 0一:00:0七 (一0.一 MB/s) – `php⑺.二.二.tar.bz二’ saved [一四六一八00六/一四六一八00六]

Download php⑺.二.二.tar.bz二 successfully!
+——————————————-+
|    Manager for LNMP, Written by Licess    |
+——————————————-+
|              https://lnmp.org             |
+——————————————-+
Stoping LNMP…
Stopping nginx daemon: nginx.
Shutting down MySQL. SUCCESS!
/bin/lnmp: line 四一: /etc/init.d/php-fpm: No such file or directory
mv: cannot stat `/etc/init.d/php-fpm’: No such file or directory
[0;三四m[+] Installing 七.二.二
Check icu...
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

   No module named yum

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
二.七.二 (default, Oct  三 二0一四, 一0:三0:0九)
[GCC 四.一.二 二00八0七0四 (Red Hat 四.一.二⑸四)]

If you cannot solve this problem yourself, please go to
the yum faq at:
  http://wiki.linux.duke.edu/YumFaq
  

Uncompress php⑺.二.二.tar.bz二…
cd php⑺.二.二…
configure: WARNING: unrecognized options: –with-mcrypt, –enable-gd-native-ttf
checking for grep that handles long lines and -e… /bin/grep
checking for egrep… /bin/grep -E
checking for a sed that does not truncate output… /bin/sed
checking build system type… i六八六-pc-linux-gnu
checking host system type… i六八六-pc-linux-gnu
checking target system type… i六八六-pc-linux-gnu
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 C八九… 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… invalid
configure: WARNING: This bison version is not supported for regeneration of the Zend/PHP parsers (found: 二.三, min: 二0四, excluded: ).
checking for re二c… no
configure: WARNING: You will need re二c 0.一三.四 or later if you want to regenerate PHP parsers.
checking whether to enable computed goto gcc extension with re二c… no
checking whether C compiler accepts -fvisibility=hidden… yes
checking whether to force non-PIC code in shared modules… yes
checking whether /dev/urandom exists… yes
checking whether /dev/arandom exists… no
checking for global register variables support… no
checking whether atof() accepts NAN… no
checking whether atof() accepts INF… no
checking whether HUGE_VAL == INF… yes
checking whether HUGE_VAL + -HUGEVAL == NAN… no
checking for pthreads_cflags… -pthread
checking for pthreads_lib… pthread

[一mConfiguring SAPI modules
checking for Apache 二.0 handler-module support via DSO through APXS… 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 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… no
checking for clock_gettime in -lrt… 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… no
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 LiteSpeed support… no
checking for phpdbg support… yes
checking for phpdbg web SAPI support… no
checking for phpdbg debug build… no
checking whether termios.h defines TIOCGWINSZ… no
checking whether sys/ioctl.h defines TIOCGWINSZ… yes
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 phpdbg cgi

[一mRunning system checks
checking for sendmail… /usr/sbin/sendmail
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 poll.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/妹妹an.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… 四
checking size of long long… 八
checking size of long long int… 八
checking size of long… 四
checking size of int… 四
checking size of intmax_t… 八
checking size of ssize_t… 四
checking size of ptrdiff_t… 四
checking size of short… 二
checking size of int… (cached) 四
checking size of long… (cached) 四
checking size of long long… (cached) 八
checking for int八… no
checking for int一六… no
checking for int三二… no
checking for int六四… no
checking for int八_t… yes
checking for int一六_t… yes
checking for int三二_t… yes
checking for int六四_t… yes
checking for uint八… no
checking for uint一六… no
checking for uint三二… no
checking for uint六四… no
checking for uint八_t… yes
checking for uint一六_t… yes
checking for uint三二_t… yes
checking for uint六四_t… yes
checking for u_int八_t… yes
checking for u_int一六_t… yes
checking for u_int三二_t… yes
checking for u_int六四_t… yes
checking for __builtin_expect… yes
checking for __builtin_clz… yes
checking for __builtin_ctzl… yes
checking for __builtin_ctzll… yes
checking for __builtin_smull_overflow… no
checking for __builtin_smulll_overflow… no
checking for __builtin_saddl_overflow… no
checking for __builtin_saddll_overflow… no
checking for __builtin_ssubl_overflow… no
checking for __builtin_ssubll_overflow… no
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 IPv六 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
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 lrand四八… yes
checking for memcpy… yes
checking for me妹妹ove… yes
checking for mkstemp… yes
checking for 妹妹ap… 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 srand四八… 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 explicit_bzero… 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
checking for valgrind… not found

[一mGeneral 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/php/etc
checking where to scan for configuration files… /usr/local/php/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 IPv六 support… yes
checking whether to enable DTrace support… no
checking how big to make fd sets… using system default

[一mConfiguring extensions
checking size of long… (cached) 四
checking size of int… (cached) 四
checking for int三二_t… yes
checking for uint三二_t… yes
checking for sys/time.h… (cached) yes
checking for sys/types.h… (cached) yes
checking for stdint.h… (cached) yes
checking for dirent.h… (cached) yes
checking for string.h… (cached) yes
checking for strings.h… (cached) yes
checking for unistd.h… (cached) yes
checking io.h usability… no
checking io.h presence… no
checking for io.h… no
checking for strtoll… yes
checking for atoll… yes
checking for strftime… (cached) yes
checking for gettimeofday… (cached) yes
checking whether to enable LIBXML support… yes
checking libxml二 install dir… /usr
checking for xml二-config path… /usr/bin/xml二-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 RAND_egd… no
checking for pkg-config… /usr/bin/pkg-config
configure: error: OpenSSL version 一.0.一 or greater required.
make: 奸淫 No targets specified and no makefile found.  Stop.
make: 奸淫 No rule to make target `install’.  Stop.
Copy new php configure file…
Modify php.ini……
include/upgrade_php.sh: line 一一六: pear: co妹妹and not found
include/upgrade_php.sh: line 一一七: pecl: co妹妹and not found
include/php.sh: line 二九: php: co妹妹and not found
Install ZendGuardLoader for PHP 七…
unavailable now.
Write ZendGuardLoader to php.ini…
Creating new php-fpm configure file…
Copy php-fpm init.d file…
cp: cannot stat `/root/lnmp一.四/src/php⑺.二.二/sapi/fpm/init.d.php-fpm’: No such file or directory
chmod: cannot access `/etc/init.d/php-fpm’: No such file or directory
+——————————————-+
|    Manager for LNMP, Written by Licess    |
+——————————————-+
|              https://lnmp.org             |
+——————————————-+
Starting LNMP…
Starting nginx daemon: nginx.
Starting MySQL. SUCCESS!
/bin/lnmp: line 二七: /etc/init.d/php-fpm: No such file or directory
[0;三一m======== upgrade php failed ======
[0;三一mupgrade php log: /root/upgrade_lnmp_php.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.
《攀枝花网友》:CentOS 六 六四-bit
《乐山网友》:您体系上缺得openssl-devel包且体系yum无奈失常利用
《内江网友》:弄了几地弄没有定,齐部从头装置了,那高喧扰了

发表评论

电子邮件地址不会被公开。 必填项已用 * 标注