找回密码
 注册
查看: 460|回复: 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 245 w8 V2 d4 |! q3 U. q, M
: p- H8 g/ K5 s& P& v
解决办法:
( o5 Y, Z' t! ~[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm& j% A2 ]& l8 {( R
Loaded plugins: fastestmirror
& N5 n" \; y/ j. `' X6 Arh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     
' `2 A( t# g, c: r2 R9 wExamining /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_641 a0 `. D& X2 i1 x
Marking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed! z% q7 X6 x( Y) x4 ]! r/ q5 u$ S
Resolving Dependencies+ _3 x4 _. C+ U
--> Running transaction check5 C, j0 S, b% ]1 t6 E! _2 t! K
---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed- |( S- W# P, y9 `1 ~9 v- F
--> 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
/ L1 J$ g' C% T, bLoading mirror speeds from cached hostfile% q2 h+ P3 A# o2 q- y
* base: mirrors.aliyun.com4 t: f9 s& B7 k& E
* centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
, V  c1 `" Z4 g0 y% u * centos-sclo-sclo: mirrors.aliyun.com' V* i7 |$ h, B! ?5 e" F5 _
* epel: ftp.riken.jp
1 F& t, i2 m3 {2 ^ * extras: mirrors.aliyun.com9 T& p' s5 {( H# Y$ H  g$ p
* updates: mirrors.aliyun.com. _9 Q! V  z1 D
--> Running transaction check
2 k7 M9 N1 h2 S+ C---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed
! i$ l6 e+ u" `% [--> 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
) _. X5 l% e( L--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_641 [$ O$ j# t4 q$ t
--> Running transaction check6 L6 n9 Y5 A  I# R: z% V& z
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed
% G/ P6 m6 }7 U/ e' m. @---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed6 t3 K. S# r. j: l) W- }
--> Finished Dependency Resolution
4 K; ]5 T! Z& \( h* A/ y: P( A( z- _! w! q) w& _1 I1 k. x8 L
Dependencies Resolved
$ {( k1 ~6 S% i. Z! y# C
2 [0 `! J! c8 |4 v" i=================================================================================; j6 X$ ]. s# N4 X/ E
Package             Arch   Version      Repository                         Size
/ _! v, Y; A( ~=================================================================================
) {' T# ?) _: S3 R. OInstalling:
2 I; G, [& O& P9 n9 }  Z1 x. W rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64' l( H! f6 l4 s; e& x
                                                                            44 k" J) j! _# q2 E6 x6 f# H( V
Installing for dependencies:
: o2 v$ a3 L( s0 u9 t: S  i rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k
( n, R9 R: ~+ O3 Z: h6 w9 O1 h rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k) _; G: a4 ~4 O4 `% C, T7 K0 ~
rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M
& y6 [* `: A7 J: ?0 S7 E! m0 _' V0 O2 j  v6 e8 U8 X4 V6 z/ Q' O
Transaction Summary
( a8 ?3 G3 T7 J=================================================================================5 T9 y) f/ }! M! k6 }
Install  1 Package (+3 Dependent packages)
6 g9 p  U/ [, v- ?1 B; l3 q- a; N$ R8 s, ]# `
Total size: 1.9 M4 r& G6 O1 W* r& H, Q
Total download size: 1.9 M( ~' G9 ]6 y, O
Installed size: 6.4 M) @( T, t5 ?+ Q" Y1 |. c) X7 u
Downloading packages:3 v  p; B. o3 q* g9 \2 f
(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     9 V/ R2 e" P  H4 l
(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
% n6 f0 y1 o# H; e% t+ g* S9 n6 O(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     
$ Z9 h6 ], Y# {; D  i" g& U---------------------------------------------------------------------------------- V# M4 \! q8 \" v. y3 U/ M2 j" K
Total                                               3.9 MB/s | 1.9 MB  00:00     # m! e/ P3 V. L4 M( Y
Running transaction check: ]. \+ L+ v* }# c
Running transaction test
# m' x5 s" f, N" F, K. S# \$ c) jTransaction test succeeded
) K8 T/ {0 S8 G! d) pRunning transaction
# |4 ]$ u* S/ A2 q  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4
+ }8 f6 m" ~2 b2 V1 E  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
' F; H! A3 i6 d  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
. ]# {8 ^  `- `1 [& y9 Q) V# _7 y  B& a
Installing : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4 , z/ o) ]2 F9 h- S
  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4 , K" C; c1 ?$ O
  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
1 \6 M! C1 h/ j- n$ p1 f2 j  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
) u# o" E* x- m: X3 v' U- s( H  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4
4 ?# a& b% F  \' h& |9 ~
- H3 P$ y1 F0 J& H* s3 o7 ^Installed:  L' ^, }) @2 V* ]4 N
  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                       
0 f1 }) d9 w* B* O/ J
5 P/ m' _- r- ]0 CDependency Installed:
! s* b6 p) `: @  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      ! N* S- E8 P. ]* Q: E% a4 ~
  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         
! {& `5 N5 L  r4 G  rh-php72-runtime.x86_64 0:1-2.el7                                             
- h% s* j2 T+ A' s. R' i' C# Z
5 U# I' _1 {! [& |Complete!
5 j. C, U7 I7 `) T; `& [" y  I7 T0 O6 K+ K- L! l

. S8 w, b1 ~2 |' @- `$ u2 E% T$ d8 n! g

5 T. H: E" g: K- T

' R+ Q1 i$ [1 M1 U! K2 P

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service! R  B0 z8 a$ e; d3 S* ?

/ f/ ]# p8 T1 h% I1 ^4 T[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service7 l* d- p/ f/ Z* h0 k: J
[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service' r5 f( y" H/ h, K3 f* V2 p
[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service
4 F' q2 n: j/ ~" R● rh-php73-php-fpm.service - The PHP FastCGI Process Manager
; k0 E6 ?1 u$ N- [) E   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)! c8 r" v: u' z$ O+ Q0 v: `
   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago$ `1 f( t9 f( A. M& @5 w: p+ m" R
Main PID: 3550 (php-fpm)
5 [! d5 \3 S8 A   Status: "Ready to handle connections"
. A7 h3 m# l: \   CGroup: /system.slice/rh-php73-php-fpm.service9 M7 m) f' W5 A4 s' G- }  o
           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)/ I3 I# g& V! {+ w" F- t
           ├─3551 php-fpm: pool www
. h; o' ?) _* \           ├─3552 php-fpm: pool www$ i# H/ C  Y+ f! q- [8 \- S
           ├─3553 php-fpm: pool www
0 W, B2 D9 Q9 X           ├─3554 php-fpm: pool www
0 f% K, U* _5 ?  B$ Q: f  [           └─3555 php-fpm: pool www$ ]1 f/ l( k" t9 z: U: _0 x
! V# ?* ?* o+ t/ Y6 |/ p# ^
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc....
( q' F. ^: s" rOct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....
0 e4 d3 Z) J1 P* M; H% b' JHint: Some lines were ellipsized, use -l to show in full.4 ]9 o( `6 R& I: a4 P
[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service$ D6 D: b' C: s3 E" k
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.
9 ?( s7 D: R  q4 ~* f. E
0 Z' F/ ]6 Y$ M9 ?! ]7 e
# F( O1 |( [4 n" X1 V9 [[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service
  Z) V* J  Y5 |, |Created symlink from /etc/systemd/system/multi-user.target.wants/rh-php73-php-fpm.service to /usr/lib/systemd/system/rh-php73-php-fpm.service.
- A- T* P: `! G3 e# E
; ~: K, e; z; ]' d问题解决:! W; E3 K5 i) o$ }# ^4 u! W

9 i8 B( a% Y- R! m8 g3 }; m1 C7 k
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2026-6-12 02:10 , Processed in 0.017895 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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