VPS侦探论坛

 找回密码
 注册
查看: 230|回复: 9

单独安装php报错,该怎么解决?

[复制链接]
发表于 2021-11-16 10:30:42 | 显示全部楼层 |阅读模式



之前已经单独安装nginx和mysql,现在需要用到php结果  ./install.sh mphp 执行这个命令结果返回了这个
Multiple PHP Versions ONLY for LNMP Stack!


美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-11-16 14:19:17 | 显示全部楼层


./install.sh mphp 是为lnmp架构用来安装多个php版本用的,你本身就只安装了nginx和mysql并不是完整的lnmp环境所有无法使用
可以使用 ./upgrade.sh php 来安装php
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-11-19 14:11:17 | 显示全部楼层



好的,谢谢,军哥
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-11-19 14:11:46 | 显示全部楼层



licess 发表于 2021-11-16 14:19
./install.sh mphp 是为lnmp架构用来安装多个php版本用的,你本身就只安装了nginx和mysql并不是完整的lnmp ...


好的,谢谢,军哥
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-11-22 15:08:47 | 显示全部楼层

licess 发表于 2021-11-16 14:19
./install.sh mphp 是为lnmp架构用来安装多个php版本用的,你本身就只安装了nginx和mysql并不是完整的lnmp ...

尝试用这个./upgrade.sh php 安装php报错了

美国VPS、VPN、域名代购:http://shop63846532.taobao.com/

 楼主| 发表于 2021-11-22 15:11:08 | 显示全部楼层

include/main.sh: line 720: /usr/local/php/bin/php-config: No such file or directory
include/main.sh: line 721: /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:
Press any key to start...or Press Ctrl+c to cancel

php-7.2.32.tar.bz2 [found]
+-------------------------------------------+
|    Manager for LNMP, Written by Licess    |
+-------------------------------------------+
|              https://lnmp.org             |
+-------------------------------------------+
Stoping LNMP...
Stoping nginx...  done
Shutting down MySQL.. SUCCESS!
/usr/bin/lnmp: line 44: /etc/init.d/php-fpm: No such file or directory
mv: cannot stat '/etc/init.d/php-fpm': No such file or directory
Installing Dependent for PHP...
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:29 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package c-ares-devel-1.13.0-5.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:31 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package libicu-devel-60.3-2.el8_1.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:33 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package libxslt-1.1.32-6.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:35 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package libxslt-devel-1.1.32-6.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:37 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package xz-5.2.4-3.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:39 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package expat-devel-2.2.5-4.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:41 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package libzip-devel-1.5.1-2.module_el8.2.0+313+b04d0a66.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:43 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package bzip2-1.0.6-26.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:45 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package bzip2-devel-1.0.6-26.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
 楼主| 发表于 2021-11-22 15:11:25 | 显示全部楼层

Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:47 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package sqlite-devel-3.26.0-15.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:49 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Package oniguruma-devel-6.8.2-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:50 ago on Mon 22 Nov 2021 02:06:00 PM HKT.
Repo-id            : PowerTools
Repo-name          : CentOS-8 - PowerTools
Repo-mirrors       : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=PowerTools&infra=stock
Repo-filename      : /etc/yum.repos.d/CentOS-PowerTools.repo
Repo-name          : CentOS Linux 8 - PowerTools
Repo-mirrors       : http://mirrorlist.centos.org/?release=8&arch=x86_64&repo=PowerTools&infra=stock
Repo-filename      : /etc/yum.repos.d/CentOS-Linux-PowerTools.repo
Repo-name          : CentOS Linux 8 - PowerTools - Source
Repo-baseurl       : http://vault.centos.org/centos/8/PowerTools/Source/
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:17 ago on Mon 22 Nov 2021 02:06:36 PM HKT.
Package rpcgen-1.3.1-4.el8.x86_64 is already installed.
Package re2c-0.14.3-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Repository cr is listed more than once in the configuration
Repository extras is listed more than once in the configuration
Repository extras-source is listed more than once in the configuration
Repository fasttrack is listed more than once in the configuration
Last metadata expiration check: 0:46:19 ago on Mon 22 Nov 2021 02:06:36 PM HKT.
Package oniguruma-devel-6.8.2-2.el8.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[+] Installing 7.2.32
Uncompress php-7.2.32.tar.bz2...
cd php-7.2.32...
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... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking target system type... x86_64-unknown-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 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.0 (ok)
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2021-11-22 15:12:01 | 显示全部楼层



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... no
checking for __yp_get_default_domain in -lnsl... no
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/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... 8
checking size of long long... 8
checking size of long long int... 8
checking size of long... 8
checking size of int... 4
checking size of intmax_t... 8
checking size of ssize_t... 8
checking size of ptrdiff_t... 8
checking size of short... 2
checking size of int... (cached) 4
checking size of long... (cached) 8
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 __builtin_expect... yes
checking for __builtin_clz... yes
checking for __builtin_ctzl... yes
checking for __builtin_ctzll... yes
checking for __builtin_smull_overflow... yes
checking for __builtin_smulll_overflow... yes
checking for __builtin_saddl_overflow... yes
checking for __builtin_saddll_overflow... yes
checking for __builtin_ssubl_overflow... yes
checking for __builtin_ssubll_overflow... 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
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
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2021-11-22 15:12:18 | 显示全部楼层


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... yes
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 whether to enable valgrind support... yes
checking for valgrind header... found in /usr

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/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 IPv6 support... yes
checking whether to enable DTrace support... no
checking how big to make fd sets... using system default

Configuring extensions
checking for strings.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 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 RAND_egd... no
checking for pkg-config... /usr/bin/pkg-config
checking for PCRE library to use... bundled
checking whether to enable PCRE JIT functionality... yes
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 libcurl.pc... using default path
checking for cURL 7.10.5 or greater... configure: error: cURL version 7.10.5 or later is required to compile php with cURL support
make: *** No targets specified and no makefile found.  Stop.
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/php.sh: line 86: pear: command not found
include/php.sh: line 87: pecl: command not found
Downloading Composer...
--2021-11-22 14:53:11--  https://soft.vpser.net/web/php/composer/composer.phar
Resolving soft.vpser.net (soft.vpser.net)... 45.34.93.228, 2600:3c01::f03c:91ff:fe92:1a06
Connecting to soft.vpser.net (soft.vpser.net)|45.34.93.228|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 2287395 (2.2M) [application/octet-stream]
Saving to: ‘/usr/local/bin/composer’

     0K .......... .......... .......... .......... ..........  2%  311K 7s
    50K .......... .......... .......... .......... ..........  4%  311K 7s
   100K .......... .......... .......... .......... ..........  6%  205M 4s
   150K .......... .......... .......... .......... ..........  8%  312K 5s
   200K .......... .......... .......... .......... .......... 11%  120M 4s
   250K .......... .......... .......... .......... .......... 13%  120M 3s
   300K .......... .......... .......... .......... .......... 15%  130M 3s
   350K .......... .......... .......... .......... .......... 17% 32.4M 2s
   400K .......... .......... .......... .......... .......... 20%  316K 3s
   450K .......... .......... .......... .......... .......... 22%  138M 2s
   500K .......... .......... .......... .......... .......... 24%  107M 2s
   550K .......... .......... .......... .......... .......... 26%  116M 2s
   600K .......... .......... .......... .......... .......... 29% 71.1M 2s
   650K .......... .......... .......... .......... .......... 31%  228M 1s
   700K .......... .......... .......... .......... .......... 33%  171M 1s
   750K .......... .......... .......... .......... .......... 35% 77.4M 1s
   800K .......... .......... .......... .......... .......... 38%  318K 1s
   850K .......... .......... .......... .......... .......... 40%  137M 1s
   900K .......... .......... .......... .......... .......... 42%  118M 1s
   950K .......... .......... .......... .......... .......... 44% 96.4M 1s
  1000K .......... .......... .......... .......... .......... 47%  129M 1s
  1050K .......... .......... .......... .......... .......... 49% 81.9M 1s
  1100K .......... .......... .......... .......... .......... 51%  127M 1s
  1150K .......... .......... .......... .......... .......... 53%  129M 1s
  1200K .......... .......... .......... .......... .......... 55%  113M 1s
  1250K .......... .......... .......... .......... .......... 58%  121M 1s
  1300K .......... .......... .......... .......... .......... 60%  116M 1s
  1350K .......... .......... .......... .......... .......... 62% 92.2M 0s
  1400K .......... .......... .......... .......... .......... 64%  156M 0s
  1450K .......... .......... .......... .......... .......... 67% 82.8M 0s
  1500K .......... .......... .......... .......... .......... 69%  164M 0s
  1550K .......... .......... .......... .......... .......... 71% 51.7M 0s
  1600K .......... .......... .......... .......... .......... 73% 43.7M 0s
  1650K .......... .......... .......... .......... .......... 76% 44.4M 0s
  1700K .......... .......... .......... .......... .......... 78%  329K 0s
  1750K .......... .......... .......... .......... .......... 80%  101M 0s
  1800K .......... .......... .......... .......... .......... 82%  123M 0s
  1850K .......... .......... .......... .......... .......... 85%  102M 0s
  1900K .......... .......... .......... .......... .......... 87%  122M 0s
  1950K .......... .......... .......... .......... .......... 89%  102M 0s
  2000K .......... .......... .......... .......... .......... 91%  111M 0s
  2050K .......... .......... .......... .......... .......... 94%  118M 0s
  2100K .......... .......... .......... .......... .......... 96%  126M 0s
  2150K .......... .......... .......... .......... .......... 98% 95.1M 0s
  2200K .......... .......... .......... ...                  100%  181M=1.0s

2021-11-22 14:53:13 (2.25 MB/s) - ‘/usr/local/bin/composer’ saved [2287395/2287395]

Composer install successfully.
Install ZendGuardLoader for PHP 7...
unavailable now.
Creating new php-fpm configure file...
Copy php-fpm init.d file...
cp: cannot stat '/root/lnmp1.8/src/php-7.2.32/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...  done
Starting MySQL. SUCCESS!
/usr/bin/lnmp: line 30: /etc/init.d/php-fpm: No such file or directory
======== upgrade php failed ======
upgrade php log: /root/upgrade_lnmp_php.log
You upload upgrade_lnmp_php.log to LNMP Forum for help.
美国VPS推荐: 遨游主机LinodeLOCVPSKVMLAVPS2EZ搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2021-11-22 19:24:15 | 显示全部楼层



maomaodegege 发表于 2021-11-22 15:12
checking for strptime... yes
checking for strstr... yes
checking for strtok_r... yes

缺少依赖,看一下脚本安装一下依赖包 https://github.com/licess/lnmp/blob/master/include/init.sh#L297
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2021-12-3 06:19 , Processed in 0.090968 second(s), 16 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表