将设为首页浏览此站
开启辅助访问 天气与日历 收藏本站联系我们切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 53|回复: 1
收起左侧

Fatal error: Composer detected issues in your platform: Your Composer dependenci

[复制链接]
发表于 2022-10-25 10:23:14 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有帐号?开始注册

x
Fatal error: Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 7.2.0". You are running 7.1.30. in /usr/share/icinga-php/ipl/vendor/composer/platform_check.php on line 24
/ x6 s5 R# a0 Q! F5 ^7 T( m: b  j* q9 _* e5 C$ C
解决办法:
) \1 n( S. I7 @2 z! o# [$ o+ p2 g[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm( M  q% ~2 F$ E: O
Loaded plugins: fastestmirror1 \0 D( n+ l* O5 q
rh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     ) S  w" M3 v- V
Examining /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm: rh-php72-php-json-7.2.10-3.el7.x86_64$ v) @; @2 y% U5 E" Q* ~# ]/ [
Marking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed, \4 C1 W7 i" o2 m
Resolving Dependencies4 l5 U# v7 z* Z$ h
--> Running transaction check; S" l+ @5 x# w, X2 q8 C- K+ X
---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed8 W8 @7 T0 f5 y, I9 G3 ~  Z. z
--> Processing Dependency: rh-php72-php-common(x86-64) = 7.2.10-3.el7 for package: rh-php72-php-json-7.2.10-3.el7.x86_64
3 p  q# b) P6 Z. R: K0 }( KLoading mirror speeds from cached hostfile
' J4 v. Q+ w( @/ R* I * base: mirrors.aliyun.com
' \2 o7 O. G+ s* N0 _9 y * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn; R2 C- i# T0 Y  I
* centos-sclo-sclo: mirrors.aliyun.com
- A& V% t! y$ j/ d3 ]+ b * epel: ftp.riken.jp
& E2 T! A7 t  X+ a4 `7 ]5 b * extras: mirrors.aliyun.com
$ H# n; o: t; R# z. R5 I * updates: mirrors.aliyun.com
: f. h9 ^: `: k& p: i8 S& n, n5 W--> Running transaction check- T5 C- r( I& z- g% _$ o
---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed
* q! O0 @3 Y4 M9 v" ?--> Processing Dependency: rh-php72-php-zip(x86-64) = 7.2.10-3.el7 for package: rh-php72-php-common-7.2.10-3.el7.x86_64
  C, Z! ~4 P3 W2 X; q- z--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_643 v: m1 m/ q+ q9 T/ k' }2 d- b  s3 h
--> Running transaction check
7 M0 F1 a) Q4 q6 z: W/ u2 L7 q---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed0 H  _# q$ h' }4 _) v; I* b
---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed! W: T- d# @, y, ?* N
--> Finished Dependency Resolution) E, G$ O, U9 d7 `1 w) A( @

  k7 o  M) o+ V' C1 z6 U1 yDependencies Resolved
. C( H0 Y$ w8 r4 Y! D# w# n' [; X7 o6 W" E' d+ j
=================================================================================$ }8 i) ^, H: F! E
Package             Arch   Version      Repository                         Size
( {) [3 a5 @% a" ^=================================================================================
9 ~4 r7 M+ V; vInstalling:* t. y: n( F. e8 T& ?% q2 A
rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64
& i. Q4 Z5 f3 u/ L4 m% Y9 x                                                                            44 k
' t  j) e/ ~, R5 TInstalling for dependencies:
2 p, M9 @6 u, y9 d rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k7 |$ a6 a: ^+ d% C' X
rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k, N( H2 Q# H# Y* V7 W
rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M
1 D: g2 J& X! [. a: N8 A: l
# X& D+ G/ g7 i2 [3 [9 \% K' ?3 PTransaction Summary' n: @5 l" `9 c9 u0 T& v2 o
=================================================================================
: ?) Z! L3 }$ s$ [( p$ gInstall  1 Package (+3 Dependent packages)
2 u! k; d# J! r' T7 v0 M
% X. b3 k; J: D: M, DTotal size: 1.9 M6 ~7 A/ [2 [# ?% z, v: d  G- i
Total download size: 1.9 M& f1 ^1 c. {8 n7 D  `
Installed size: 6.4 M
1 x8 H% B/ @% J) DDownloading packages:# U" \1 D: v0 g+ \+ ~8 z
(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     
' r- w# ~' C: ~/ s5 Z" H(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
6 H9 h& ?2 `$ }- {(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     
5 \0 f) S6 u: U* d---------------------------------------------------------------------------------
$ Q/ j, N6 a2 y- x- R* ^8 VTotal                                               3.9 MB/s | 1.9 MB  00:00     
0 V( x) B7 E, h& yRunning transaction check
- c: F" Y& a/ E4 X* G2 rRunning transaction test. J4 O$ F6 W$ J
Transaction test succeeded
  J. d; l( P# ?Running transaction8 D* W8 p4 G. d& h7 V1 @
  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4
3 C( t* e5 D( e6 x- k( b$ z  u  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
- _' w- f6 _" W( j8 l& n% }6 \- B% w  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
: z* `& N# v' `
, f1 C3 e( |9 |, O' NInstalling : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4
, n5 `. `5 p7 t. F* p7 E# ~; O8 U  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4 # J; b; U8 U- j* N/ ?
  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4 % }* ^$ {! W( D& m: s! T
  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4 # _& r# ^3 O; R* A
  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4 7 O# p3 l  `0 R. Q

" d2 z9 \; Q& QInstalled:
9 o/ ~. L+ n$ r. e9 }  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                        8 P  {3 [/ Y3 P: C

  b+ S; M( g/ [& x& g- H8 kDependency Installed:
$ K  R' w) y* z5 `* g/ f* N1 G  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      
% Z) ^2 A! \/ e  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         
" _; m8 Y3 F; u1 Z( X  rh-php72-runtime.x86_64 0:1-2.el7                                             
, I" \+ h/ d& r( Q7 e  Y
, p( u% A5 g4 M9 o5 UComplete!
0 K8 B6 P4 ], F( P, e
2 ]6 j1 g) u* D( }, t( e' ^( X! Y" ]9 o" s

  t) y- r8 y6 |9 F' A, r8 }2 \4 p+ A/ X& @  p8 C% I. Q/ e: O( C
7 d) r* y' }& n2 s& R
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service. L, \% m8 O9 U( c3 k' X
- E2 F, c8 B' _5 J" R4 B: H
[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service
6 b! R% @: _0 W/ l9 _; U# }! b[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service
  y( D! b! d2 y" s9 e) v# d0 _. r[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service
# B8 [) u' r7 `; Q! L● rh-php73-php-fpm.service - The PHP FastCGI Process Manager
$ H& u. g& F4 {. E; i   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)
& j: {4 B/ z3 H% {5 }2 H   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago
: ~4 ]$ V$ B3 v. T/ k0 c Main PID: 3550 (php-fpm)
$ g, T( Y- _) ?2 w. Y  S+ j1 d" q   Status: "Ready to handle connections"" D8 N2 l7 {" ~( r8 u
   CGroup: /system.slice/rh-php73-php-fpm.service$ I( p( @# S" Q0 ]
           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)
: L7 L8 w. k2 {: i           ├─3551 php-fpm: pool www
: _$ C2 d1 G& J2 i' D# Q, C           ├─3552 php-fpm: pool www
  F' Q; @4 F$ Q) n+ E) u! [           ├─3553 php-fpm: pool www
% `/ H, D6 A* q1 G5 @* o+ `           ├─3554 php-fpm: pool www+ e+ J' v+ m# K* J( w. w
           └─3555 php-fpm: pool www! p7 ]9 h) `9 \0 @3 w. V
* O5 [! @* u; B7 q* j+ G. c% U
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc....
; Y* ]0 X# @8 q, E6 P8 HOct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....
7 x! a2 t: ^4 F! {7 MHint: Some lines were ellipsized, use -l to show in full.
0 \: ~, {: o% ]  w* Y[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service
7 E4 J% B1 G# l& O4 v$ ^Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.( c. ]" g- x9 u, K; T. R

* q5 A+ L' |* H9 x3 d7 c* T" U: k
[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service
4 Q# t# E% h( T& RCreated symlink from /etc/systemd/system/multi-user.target.wants/rh-php73-php-fpm.service to /usr/lib/systemd/system/rh-php73-php-fpm.service./ ~& I1 \. k. ~4 ~- w
  J- T% k" w, ?$ l
问题解决:
6 Z! l/ t  R* P5 z1 z+ w! A3 t+ k
3 l! ]5 h2 m- {
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

如有购买积分卡请联系497906712

QQ|返回首页|Archiver|手机版|小黑屋|易陆发现 点击这里给我发消息

GMT+8, 2022-12-10 11:00 , Processed in 0.044654 second(s), 22 queries .

Powered by LR.LINUX.cloud bbs168x X3.2 Licensed

© 2012-2022 Comsenz Inc.

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