开启辅助访问 天气与日历 收藏本站联系我们相册切换到窄版

易陆发现论坛

 找回密码
 开始注册
查看: 403|回复: 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 240 i& `, K; u2 x

" u. k) `9 v- C0 J) n- o( L) ^解决办法:) u7 Z+ \% d& V9 C- ]
[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm# C: U2 H* t6 U7 ]/ s$ i  Y% V
Loaded plugins: fastestmirror
. f5 t; R( K2 Y- q# Rrh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     8 U& A( V/ ?2 ?7 l( y0 K
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_647 M+ @* M, d% o: l
Marking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed% G0 A& _3 A0 ~% M
Resolving Dependencies
( q5 F+ ?& P% @8 c--> Running transaction check
. z& c3 N8 g- y$ a0 D---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed
! \& Q, K* _* w- D/ K; {; L0 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
2 X3 Q' f% i; w+ R) D" v5 S3 G4 YLoading mirror speeds from cached hostfile
$ q2 w0 i# d1 P& _& x9 [3 ]$ G * base: mirrors.aliyun.com8 |" s# v* G  z0 L: }, {$ _
* centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
9 E" B( A  b% [ * centos-sclo-sclo: mirrors.aliyun.com2 w/ {) D+ i0 T  a, S1 E, |6 j
* epel: ftp.riken.jp
* n/ b* k' x( i3 l4 }/ Z5 b4 n * extras: mirrors.aliyun.com
7 {6 ]2 M! d; g# O( }/ B * updates: mirrors.aliyun.com
: @2 |0 y% Q# ^* ]; I2 a$ z--> Running transaction check
) v8 @" d. w' z& u---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed$ I$ }& C) G6 c! x* e, f
--> 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
7 {8 ]$ F+ ~$ H  I5 b0 a, j--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_64; F9 t- I8 ?; s! w, V: y6 c
--> Running transaction check+ g8 C! V( v% H6 \. g% L7 z
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed
3 F8 i3 V) F( S5 L$ j! m) B: s& ]9 N---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed
- _3 \% |" Y2 G/ D--> Finished Dependency Resolution
. _' y; v/ J* x0 S* M
5 q% H" C% Z  A, N) d% b% xDependencies Resolved
6 _! Z8 p0 }" f3 B& V+ t' d5 a
; U' N" m+ [: S. O- E) p  A=================================================================================
4 v1 Q* S2 e. r3 ?2 q9 f Package             Arch   Version      Repository                         Size; U" [3 L6 j5 M2 j+ h) d
=================================================================================
& X5 r  z9 D! c  K: i6 h" yInstalling:& ?( x9 J( ~9 ^  Y" ?: L
rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64
! p: T6 N$ ^6 c/ r6 z                                                                            44 k
) o0 t+ c( u5 H' z( l: Y0 UInstalling for dependencies:5 l: ]. ?" R. W; H) a- K" X
rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k/ J. q. y: f$ n2 K8 c
rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k
; n: g) ^4 I! x0 S2 u rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M% [( h3 F( C6 m6 H3 O8 Y0 m5 Z
) C: A% d+ v" G5 d) }
Transaction Summary2 ]8 n5 u5 \7 ^9 I2 c! X/ l
=================================================================================
( b" `9 Y  c6 }/ `Install  1 Package (+3 Dependent packages)8 h+ J8 Q- W" P3 c
9 R- g$ g2 s4 K& X' B! O
Total size: 1.9 M
0 m( H* I, O6 |0 E& e0 Q2 B6 \" F3 UTotal download size: 1.9 M, E  U' Z; O" }/ k* ^
Installed size: 6.4 M0 W8 v* S- T: s
Downloading packages:& g1 c0 k& z  Q) ~4 G& e2 q: b9 Y" }
(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     ; J9 [1 {6 S* n! b! H
(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
' f6 v- o& F, B; `4 t/ @! i% y# }% L(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     7 P. p. F& s' w! u) w
---------------------------------------------------------------------------------! c" L1 D; }3 }0 u
Total                                               3.9 MB/s | 1.9 MB  00:00     ! O, L! a( s( _
Running transaction check, ~9 B+ h$ K) t* @' ]# N
Running transaction test% v' r, X/ @  [' p! q4 A
Transaction test succeeded- A+ T  w" k; L1 C& p  N
Running transaction3 Z' |4 u/ s* w; ~9 a$ \+ G9 f
  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4
) l7 q( ^' m6 g  ~: ]% @% e/ v3 r  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4   `& P$ Y1 ]7 f
  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
2 ^) I" j6 ^# e( y1 `+ E$ J& u) v& h; g2 M: _$ B
Installing : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4 / `% q9 G4 f: X6 D/ z' c# j
  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4
7 q0 }9 e/ S+ L% \" ?  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4 9 W& x& E8 p) I4 s# _$ y( @9 `
  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
; w7 M  _+ N7 t  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4
+ C/ ]& [, O# D! @3 g  ~3 _: f4 C' e0 D2 |7 P# n
Installed:* {6 W+ j7 u5 V1 \
  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                        2 {$ A: ]; H3 R+ |# O4 t
, ]# I6 C( n  ~0 x
Dependency Installed:
: ?' c5 i  Y! b6 n" F' o! Y  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      
7 }) H% M2 x) s$ Y% X  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                         
) ]. e( z6 s  H* }" e" X  rh-php72-runtime.x86_64 0:1-2.el7                                              0 J2 P) E& {1 I

! _# C7 t5 p+ n+ w+ ~# {, A* H+ BComplete!
0 C7 p& j. z% I) z6 q! @! M5 b. q; B  r* y
0 [" n' Y# M0 L! w9 H

$ h6 [! E3 O! w1 A9 o9 r: Q; f& c& r# }# ~- V
- }! m- ~* z4 R9 }0 i& O" t) N/ k6 z
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service/ l* g+ ~0 n/ U

' ?2 u$ s' S9 a* B+ e% ][root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service% J' @$ u! y( G% s- F. f
[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service
, C2 w# d! {" c[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service0 C2 {/ Q6 h/ t
● rh-php73-php-fpm.service - The PHP FastCGI Process Manager
: C1 d9 _# O" w; H' I& N' c: S   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)
( ?2 }. I* @/ s% v9 m3 E) i& u3 d   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago
# n1 l- ~6 h+ Q! D Main PID: 3550 (php-fpm)0 b  v' e# G- J6 ~9 ~" r- S
   Status: "Ready to handle connections"
4 _$ t5 R3 q" G3 b   CGroup: /system.slice/rh-php73-php-fpm.service
+ c8 P% O, s# F. `/ Y           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)# a9 ~0 ?0 V; K+ Z- J6 r1 X  G
           ├─3551 php-fpm: pool www
9 o: {% j& N1 h8 W* }8 h7 }           ├─3552 php-fpm: pool www
0 p3 S) E; L6 b           ├─3553 php-fpm: pool www
2 `; J& ]) E. M5 \- X7 e6 B$ k  |           ├─3554 php-fpm: pool www0 [4 h+ A8 p% Y1 [" \3 h/ M
           └─3555 php-fpm: pool www: {. T0 z' l+ b& J+ r; v0 S

* _9 B- e" i3 g' [7 T$ P8 wOct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc....; Z, }. X. G2 z$ q
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce....
6 L8 L3 [% A  o0 U( THint: Some lines were ellipsized, use -l to show in full.3 ]( m2 Z$ a+ M
[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service
* K' h; s* f1 oRemoved symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.
3 y8 V# ]# {: Q$ C# `9 b# Q+ Z  X0 V4 s0 {; C

  w. B$ u3 b  w, O0 t2 G[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service
9 A# ^4 g, ]9 p) c7 Z, ICreated symlink from /etc/systemd/system/multi-user.target.wants/rh-php73-php-fpm.service to /usr/lib/systemd/system/rh-php73-php-fpm.service.
" _  p8 x2 y/ E1 X; m. C2 Y# u! J* }7 p% b' W* O5 e3 T
问题解决:
1 b7 @5 Z( T* l2 Y; O6 ]0 y% i6 e6 a5 K9 p! A
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

如有购买积分卡请联系497906712

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

GMT+8, 2023-12-2 04:22 , Processed in 0.373667 second(s), 22 queries .

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

© 2012-2025 Comsenz Inc.

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