易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 458|回复: 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
$ u5 `' e, f2 a. x2 z- q
6 o" D6 e" H  u解决办法:& _3 @* m6 }2 Q/ T
[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm0 A( O" w' N) S
Loaded plugins: fastestmirror
* O3 R1 I6 S; M  h  o7 t! A, Erh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     
$ A% {  t0 R* l) f$ L/ @, UExamining /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
: u: ]1 r7 c' E& G0 E7 S8 w  zMarking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed
5 d; t4 }- p9 w" O' MResolving Dependencies
. k8 g" ^' z8 z0 O, @! w--> Running transaction check
; q( F0 S% c, e9 v" l---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed
# Z' U9 d2 M. D" k# W7 q' A4 e--> 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_641 J! P5 w1 Q# N6 P
Loading mirror speeds from cached hostfile+ w# D  L7 A) L! ~
* base: mirrors.aliyun.com
$ L' x0 z5 W1 ?5 ?: V4 u' P2 Y * centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
$ e% ], a  U9 |1 {/ h! U  i * centos-sclo-sclo: mirrors.aliyun.com
7 R" v4 t/ f7 a( Z/ q * epel: ftp.riken.jp
+ k4 r2 v0 }' }8 ^8 t- ?' Q * extras: mirrors.aliyun.com
0 o$ D* M. k0 L * updates: mirrors.aliyun.com
0 i2 r% e  p8 n7 o--> Running transaction check
5 a" ^, M: D9 p' b0 h---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed8 c4 H5 {6 o' q) a+ I( Y
--> 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
" x% T+ {4 ~2 T) Y  u8 N( Q0 t) }--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_64
7 `, i) a9 [4 v( I  D9 m, X/ t3 E8 P--> Running transaction check% R7 Y. x" A6 y% v0 p
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed
* H+ T- [* U* b" {4 c' x1 O& H- l---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed# i# E: ~7 W$ R
--> Finished Dependency Resolution
2 E1 K6 ~' n& L, r4 h9 R. Y0 W, C; u
7 |) x- p8 q' y5 T$ h) PDependencies Resolved, l7 l9 T% G& i( b* ^
; W' a5 V) {" V, l+ x6 q
=================================================================================+ v) ]2 U) p$ x5 F
Package             Arch   Version      Repository                         Size
( a- k" D2 C2 ~3 O& T% H: a: Z; i=================================================================================% |" m; x* f$ U4 ?; _  f
Installing:
! ^/ Y) _% G2 B$ J$ T* d" P9 I rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_649 }3 ]8 o. X# W% t
                                                                            44 k
' @8 X% z3 w3 C/ _5 y6 p9 U/ VInstalling for dependencies:
. ~& u/ r' Q  @& a) r; j rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k
' x. `$ l$ S& ]/ t8 V3 Z rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k" d5 Z; h, C9 N$ K5 F
rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M$ p+ ~3 W) _- s% r0 k
2 z# N5 ^/ W0 K( V: Z0 a
Transaction Summary! p$ s, s# h2 ]7 ^8 Y
=================================================================================
4 O* }, L( d: ]7 Q: b  r" yInstall  1 Package (+3 Dependent packages)( w0 y6 i: q  h
$ R( l: L) a, q( q  \9 r
Total size: 1.9 M
! O) g1 T: V5 CTotal download size: 1.9 M
% I; K+ k$ V" T2 p; g) gInstalled size: 6.4 M7 h; v, d5 F$ ^& c, i6 K
Downloading packages:
! @9 m: P" g0 W5 B) Q(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     
( R# z! z* g* \(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     5 ~# m- W; Z" X4 F2 _& o1 @
(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     
3 R+ R- ~2 i" I: V---------------------------------------------------------------------------------
% k% C4 W7 v8 h/ hTotal                                               3.9 MB/s | 1.9 MB  00:00     
: c7 M. w  f1 b# IRunning transaction check
* l, _/ U) _1 t2 A1 o& F; \Running transaction test8 j# [+ D# Y" p- J6 f
Transaction test succeeded
* v: O8 @5 w6 v4 RRunning transaction
4 W* ~- ?9 S+ J- b' f  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4 ( g4 W5 Z6 K% \
  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
$ l  B8 w0 V, h$ }1 h( A& r  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4 5 C6 q- W2 C, V5 ^$ @9 v

) h" [- x5 W$ l5 Y- BInstalling : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4 ) X2 I+ n4 X. _& m; _
  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4 ! G3 r/ w" \; c/ q/ A9 l: Y: X5 f  \/ T
  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
. ]- D4 _* f0 t# q) u  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
; o) r, f0 G( m9 j* d. q  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4
2 t- C: P# `% [7 F
+ e  O: `# c6 |7 ^' H; TInstalled:
- g! H- s1 p! h& j" q; s+ g# R  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                        2 ?4 U9 Y; x; W5 d* X. s, E! f
+ i( D% V$ N0 G( k& o- h+ A
Dependency Installed:
0 Z/ G/ T1 f9 [; e$ x  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      
6 A" [5 r8 x7 }: `8 B1 A  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         
  C6 Y  h. G1 m1 a1 s  rh-php72-runtime.x86_64 0:1-2.el7                                             
( g$ h0 g9 r; w: A0 J4 a3 N+ f3 u7 F0 y  K. R1 C
Complete!
$ J( [* s* Y9 a  b
7 T2 U% S2 Q* N9 V% y8 o! ^0 D" ?

* ]; X& E0 D% j; z0 ^" S8 H" c9 T  K
* o0 R5 ]) r: }$ K* v) H1 R& w8 @. K; j  d

) i; }6 A* R5 y( m1 q# Q1 D: z  p
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service
; J  b, ^" F: {1 Y5 |3 \, r$ X3 X/ M$ t( S
[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service: ]* o$ S  V, m9 u/ z  W8 r/ g
[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service2 g% y* g. m; `0 }# ^$ O
[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service
, \+ K" @- C& `, g8 C: Z! r● rh-php73-php-fpm.service - The PHP FastCGI Process Manager2 S$ _9 k2 \5 l5 T# d" A
   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)
$ I3 I/ j' G5 Q, s   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago
0 j! B9 \( H. B" I2 @! e Main PID: 3550 (php-fpm): @+ t' b% N) u- T7 h
   Status: "Ready to handle connections"2 U8 z! W* i- k% j) X
   CGroup: /system.slice/rh-php73-php-fpm.service0 v# v0 Q/ x9 U9 n4 e
           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)
- ^+ s* s/ M2 X8 G           ├─3551 php-fpm: pool www
  V# R* o0 _) H+ e6 x" }           ├─3552 php-fpm: pool www" E5 _: L: ~5 ^5 N' `- @5 A8 C, T
           ├─3553 php-fpm: pool www
  H8 o+ \' M) A           ├─3554 php-fpm: pool www: V& P1 A4 j- c* w# _/ O4 [
           └─3555 php-fpm: pool www
) y# F) X% s% q1 q/ U! L7 C) J/ w( k+ T5 |; ]5 n
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc....
8 n) a/ @4 H, FOct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....
2 q8 ~7 ?4 y) x! Q+ IHint: Some lines were ellipsized, use -l to show in full.; t( |. ?" v5 ~+ _
[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service' _: @9 U  U5 I1 M  p$ O) u
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.5 F$ i! e; Q0 a. C7 f$ z4 i$ I% p
3 S$ |* d6 t0 U
# h% v+ q: a; @0 j, X
[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service 3 t5 Q4 Y% _+ c; g: [* f
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.
1 q3 g4 ]& l' H' b2 Z8 \0 x
& k' g4 a0 ]  w' E' x* Y问题解决:- q. u! `. R; W) S
" C$ L& o$ G! L
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )点击这里给我发消息

GMT+8, 2026-4-8 23:59 , Processed in 0.052710 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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