找回密码
 注册
查看: 464|回复: 1

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

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2022-10-25 10:23:14 | 显示全部楼层 |阅读模式
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
' X, j5 z8 `. t( i& F% K( a1 D4 |$ q3 v% E5 j8 _
解决办法:& C. z0 l7 \  R# D4 S
[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm
; u# U9 w$ G' E) a% v4 _8 K0 CLoaded plugins: fastestmirror
! Q; J3 t5 R" t7 R: zrh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     
4 y' U; z% P& C; r* }/ r4 EExamining /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) ^+ m7 _6 a3 h1 }4 P4 Z. u
Marking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed
& z: z2 @8 M, b( i! o5 XResolving Dependencies
6 b! ]& }3 M* ^2 b$ D--> Running transaction check
0 ]8 h0 T4 E% ^* Y---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed7 j8 Z4 J; j/ p4 i6 D
--> 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$ D3 s2 a' C% y
Loading mirror speeds from cached hostfile
1 ]* B7 F" o6 k * base: mirrors.aliyun.com
% E0 D% Y8 T# v- ^- S+ A * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
/ j0 }. y  q! ? * centos-sclo-sclo: mirrors.aliyun.com
! u/ Y! h8 \" t& ?3 I, f$ A% r+ p * epel: ftp.riken.jp8 j5 o. [- C: `% Q( J1 v' _
* extras: mirrors.aliyun.com3 V: K' [" o$ C( m6 o" ?& Z* @2 \1 u
* updates: mirrors.aliyun.com6 Y% X( W# W3 C& r% F$ S8 @$ [: g
--> Running transaction check
5 j( o* A- t, B+ n" k---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed! U( u' z0 v/ K
--> 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
* s. O% o9 ~; l: W  @--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_64+ H% B, ]1 A: j, @5 H
--> Running transaction check2 D, _' K! s7 ^+ {. m0 N
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed2 |# p; e1 ?8 H/ r
---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed
" p; j+ G1 f/ G% S" g. p3 ]% q/ F--> Finished Dependency Resolution
  W) S  a" r4 m+ n% U, ]2 t. O1 h  E
5 H& a& r% L# D3 rDependencies Resolved
5 g( H3 C: E' T4 w) m' @# {  Y: c
( S  B( r: A- B5 K+ d=================================================================================
$ \% F* M, d$ V) F' L$ R Package             Arch   Version      Repository                         Size( z- |* P% h  i9 B
=================================================================================1 c# k  G" o. K3 z4 Q& A3 p  E# x
Installing:
% {3 Q, a8 P+ e- X2 K+ F rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64
& ?$ T! F; v( ?9 K                                                                            44 k
, v. l7 j! W; G; M9 u9 ]Installing for dependencies:
$ k, ^. J' V# q2 Y+ i! L, w rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k0 b# ?+ K: [$ L! G; K8 T
rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k
* u+ u3 U6 ]3 ?% R! G5 z rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M! ]/ T+ ]- ^0 [2 m

0 u" _$ E4 f9 X! N3 k& GTransaction Summary
+ a7 I3 n# [/ }" c8 [9 H=================================================================================
! u$ q6 L- ^7 b  M' G* ]! @: Q! s" b8 PInstall  1 Package (+3 Dependent packages)
0 E( v0 ^3 n1 h0 }
% \1 @1 n; V4 N; p; [8 pTotal size: 1.9 M
0 T4 _. n' q( [( `Total download size: 1.9 M
' A) g% r9 u. I2 ?# \" pInstalled size: 6.4 M8 N7 Z% b% W; A4 y& e" @
Downloading packages:
, |% B7 j0 g0 O1 d" F(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     ! F; v% x* C& `8 ]: X6 n
(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
; u& M" \- p. M  J7 l' |* e+ w+ o(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     & ~/ Z) D. K+ S' _
---------------------------------------------------------------------------------$ @8 O6 m: Q, u$ t$ K  y5 |2 H8 e
Total                                               3.9 MB/s | 1.9 MB  00:00     
1 N$ |* }, \5 V' T; B" T  W0 d- XRunning transaction check
* g* H8 `0 `  D) ]3 c6 fRunning transaction test# M) S$ b0 v: V
Transaction test succeeded
' S& |% Y/ y/ H/ \3 A* L' [Running transaction
3 K' o4 i/ W) j3 x! |) E  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4
; o/ E( x1 `+ w% r0 k2 f: A  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
( U: n* @# Q- i6 v" ]  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4 . _. }; e8 A) b6 d& v/ V1 M( {

; t3 o* F: l2 [Installing : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4
, e/ p, j1 r1 f  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4
; `* c6 g. ]: D  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4 + l* Y/ s% U" b' R+ i$ c1 I) t
  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
+ t1 n+ F5 Q9 K& ]! t  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4
% u, z6 f' k0 @5 S7 M( C4 `
0 X4 T7 c7 V1 m  cInstalled:& w3 k4 H. A' \( G$ J7 I# ]( _
  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                        ' f; L! V3 X' _0 ^7 K' ]
6 @; {8 t! X# q  V
Dependency Installed:5 H# t* ^3 J: b8 Y8 n
  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      
7 \- h" h* [+ S  }+ k  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         
. c; K1 [, K: I/ s1 {: r  rh-php72-runtime.x86_64 0:1-2.el7                                              + R' L7 V# z* h7 ^
/ `7 }+ U0 b2 @! W
Complete!
7 Q( m% N" I# j; h  U* N5 _: X* N3 q2 ?6 Q, Y( ^. A

" z3 e4 D2 e" x1 G2 ~. c/ d* |
9 h! K/ N, n$ R) D- j3 ~8 Z0 \1 y& S$ Y& v9 [7 S/ `# v7 n
0 W1 u$ \7 h5 H! s7 x8 N0 a) q- E" n

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service
/ D8 p3 ^" m, B" W/ M
9 o$ h; e* X6 n; n; j[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service
% A6 J: {9 {* C" P5 S9 F; g[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service
+ x: P; N( v0 g2 U- ~[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service/ X8 e+ [2 `! G* b" X9 i
● rh-php73-php-fpm.service - The PHP FastCGI Process Manager# [$ |5 W1 Z7 e! U1 f% T& @3 t
   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)2 X9 z/ ^$ |$ u' F! _) k$ K" q$ }
   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago) T. B& \$ Q1 q- T5 w. U
Main PID: 3550 (php-fpm)
' `0 h8 x0 e: l5 r/ I: q* ]   Status: "Ready to handle connections"
' `( ]1 }7 O7 f" I# c   CGroup: /system.slice/rh-php73-php-fpm.service- Q8 \- P4 {, J: r. {0 Q7 H
           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)/ D7 h8 k3 ?* u
           ├─3551 php-fpm: pool www
3 V8 \  d% X9 m# ^8 D# v9 w  v; ^           ├─3552 php-fpm: pool www
* J, `! u- O0 S           ├─3553 php-fpm: pool www
# p* }4 W2 U% m           ├─3554 php-fpm: pool www0 E7 G: v4 W0 H+ v1 G$ W
           └─3555 php-fpm: pool www6 P7 ^( |8 o$ t9 {( f& j& w

2 @$ B4 L- X2 L$ c' M+ }Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc....# @; }6 b8 s- u' G3 N- X9 B
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....
; ~3 x9 k; ]- u6 r' b: PHint: Some lines were ellipsized, use -l to show in full.
' y; I5 b+ m" F6 P7 t9 x[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service" H. M  o5 E# F9 k; B- q; e: M
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.' u' r8 U' `% o* R( s& E
5 |" y& p% }6 f  n' T
; f' h) R+ p/ B2 |" n) [
[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service
) V/ }' M. b+ I, b; B; r$ TCreated symlink from /etc/systemd/system/multi-user.target.wants/rh-php73-php-fpm.service to /usr/lib/systemd/system/rh-php73-php-fpm.service.
" p, y& o; K) h& C5 `. Z1 E' a) D% r: Z% w4 B3 T) Y
问题解决:
6 o- [. F, ]5 h) Q# P. h* w0 U7 E) _8 Z7 z+ h6 Q
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 03:23 , Processed in 0.021537 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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