找回密码
 注册
查看: 463|回复: 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 240 {+ Z7 p2 h+ l5 |3 U  d! `
# g" z$ O( u# o7 N5 ^
解决办法:
3 U% `3 D: F/ V9 @[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm
$ ^+ b" g% k1 ILoaded plugins: fastestmirror
  F4 e0 j. C* ?rh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     6 ]) R9 ?6 R! }& ^* I0 W# U) D6 F
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
4 L' N1 h6 X+ U# D* [% @8 D* UMarking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed
6 K' N8 @% T4 G2 NResolving Dependencies* v) ?- b5 Z- B+ r7 I# o/ z
--> Running transaction check
5 t5 P  E- z6 j$ Y: m---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed
% j/ w# \1 L+ x* \1 i5 A4 ?' P0 t--> 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
* P( u7 v6 _8 i- n6 K5 {1 `' `Loading mirror speeds from cached hostfile
& b) j6 {3 G) U/ U; ^; ^4 C7 ^ * base: mirrors.aliyun.com
. {) ]3 }1 T0 E9 R0 k * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
! e# y1 K! _) r+ x% d0 k2 P) V& p * centos-sclo-sclo: mirrors.aliyun.com
8 Y. u) P# x7 p. a( B* w  H * epel: ftp.riken.jp
: H" I% p/ [2 G. h# i4 [  z * extras: mirrors.aliyun.com
, [1 E( Q7 i$ o' v1 t * updates: mirrors.aliyun.com7 E, w: |0 N- c" {/ r& }
--> Running transaction check/ S/ E" r, H$ C* O( q1 D/ u, f1 C
---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed0 v9 k8 M( Y, j7 @
--> 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; G0 V% `) f7 t
--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_64
/ o0 h3 ?( F* c--> Running transaction check. @) r# e1 c1 U( e9 d- O
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed! t3 g5 H2 I1 V; b
---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed
( M% ^8 g; Q' g- m9 b--> Finished Dependency Resolution
9 {/ A" U/ _& E- O: F$ g' A% k: N2 M% S/ H. |  u
Dependencies Resolved
! e0 a# y  {' a0 i9 t" }
. P6 x( |' D9 s. G7 b=================================================================================
1 ?; n3 @) x* E, z+ t Package             Arch   Version      Repository                         Size
- e2 B3 x* ?% M; ^=================================================================================4 z4 w3 n. T* Q- C0 [
Installing:
; w2 ]2 W" ?# F2 a/ a3 _9 \% W rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64
7 `6 y6 S0 c) n2 H                                                                            44 k
4 Q$ t  F) ?" U$ x. EInstalling for dependencies:7 C/ h" F9 B! f+ p" Y* m2 [
rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k
1 O# }5 j! J( g rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k
- ?) t' U0 X& x$ C' m8 X rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M
+ v4 B& ~  t0 O; x
- y) m* s% i: fTransaction Summary
* Y8 J" a% t6 B3 q7 t& {/ u, t=================================================================================6 P1 z  |& ~3 H# Y1 n
Install  1 Package (+3 Dependent packages)$ U3 |1 z- y* Y, f' I" k: C

2 x$ a6 p$ d3 X0 t0 T8 nTotal size: 1.9 M& S. f2 j" L% p% ?2 r. F) e
Total download size: 1.9 M( F+ R5 T! V5 S: H: n
Installed size: 6.4 M
- e0 B2 S7 V' m" A! g6 P* b8 ~% GDownloading packages:6 a) N. X8 u- N8 R$ l
(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     8 w6 J- a. R' T( z* L9 N8 s
(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
! \: F; K+ Q) X7 ~. K9 w0 c" a(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     
8 E3 Z) w1 g" f---------------------------------------------------------------------------------
: P2 i4 \* w3 DTotal                                               3.9 MB/s | 1.9 MB  00:00     9 {+ `% `" M4 t, X/ ?9 r
Running transaction check8 v: F$ y. h( e
Running transaction test( Z6 U% Y8 w6 k! T3 H
Transaction test succeeded
$ B1 x7 v' b$ H+ C) zRunning transaction4 D, y- C/ y- w2 f; r8 [/ I
  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4 ) l' e; n( b' r( f% v2 g' X) `
  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
1 z) W; z' V! R9 Z+ g  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4 , ~7 k: o' U; v4 x$ x- ^
: e! H: r4 v$ k" ^
Installing : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4
6 b  k( r7 Z/ U7 |/ a/ E" |  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4   E; n. r: F  z: E+ d
  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
4 Z: z5 |) j6 @/ B; u5 `  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
1 z5 \" H5 |5 E* I" @* _* E  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4
+ E( R# t; U, N+ L8 q
: H8 S- V3 P# N: a& }! `Installed:
$ r6 q$ C  S1 J, t  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                       
; M/ Z6 C/ p5 Q! u7 ]0 P" I
/ c' T) a0 P' v+ d% m3 r! SDependency Installed:4 t9 e$ w) C1 M9 k
  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      
' N0 I% [* [. V0 Q! L' n. Z  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         + G$ a& t5 T2 _( R) `' ~4 ~8 t
  rh-php72-runtime.x86_64 0:1-2.el7                                             
; W3 b$ X+ V% y/ j" W+ j. a* I) t
3 h. q; Q# r1 h) lComplete!9 W4 n8 I" @9 q; G+ f! ^
1 i3 V2 w" t- ~" w5 F1 q, r+ g- ^5 ^

: X; ^5 [2 `$ Y1 t8 m1 v/ w" m% _9 E* H0 T- r& j

6 P6 J+ Y9 g: V! c, o. J2 C! m
8 i1 S, V- X6 u: x

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service
. R- G, u  _& U9 O5 @- R4 ~0 z- p4 ~% g5 W9 n
[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service
/ n3 T7 W5 u, D* F/ |' l[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service& Z; |$ ~/ Q1 k3 O
[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service% K. O8 o# q7 A! U
● rh-php73-php-fpm.service - The PHP FastCGI Process Manager- n0 t$ O9 r5 H( M
   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)
6 W, p" B4 I! v  p4 Z6 W9 y   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago$ V; ?, x* M+ ~' l' e  m
Main PID: 3550 (php-fpm)
1 t1 V7 R/ m& L( e  N0 ~   Status: "Ready to handle connections"
0 S/ y/ ^, Z2 P- r; y  r5 H+ ]   CGroup: /system.slice/rh-php73-php-fpm.service
* V+ ?% S0 K& y           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)
! ]" H$ T' k; j3 A' `8 O           ├─3551 php-fpm: pool www
7 y! k: w1 B; F: ~$ M6 Q7 @7 J           ├─3552 php-fpm: pool www
% l/ U6 Y( r# ]" C4 h           ├─3553 php-fpm: pool www
, g  Z9 O* G! G           ├─3554 php-fpm: pool www
+ ^) e% i& K7 k0 ]7 }7 V           └─3555 php-fpm: pool www7 p. Q4 {5 f8 C

( K8 M# z9 O8 V7 B; BOct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc...., d, ]  W, @: {
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....1 b( O! A: Q5 s9 S, G
Hint: Some lines were ellipsized, use -l to show in full.% W6 j1 W& ?. J/ ~5 ]: W$ T/ K
[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service- F/ ]' H7 p- ?4 S
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.
) I2 C- H/ g. S- P+ {# Q
# Q3 w3 B9 K/ S6 M" w3 A+ R, _4 p7 |& r7 q8 g+ E, B- r
[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service
( k2 a0 a# }' XCreated symlink from /etc/systemd/system/multi-user.target.wants/rh-php73-php-fpm.service to /usr/lib/systemd/system/rh-php73-php-fpm.service.: V! a; K9 o  _" u

0 y0 C. y! \! _2 l' _问题解决:
0 e" G) z; M7 i8 r1 Y
: V% G) O9 \* c9 I& o( E+ d, ?
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

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

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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