易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 457|回复: 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
( R2 f! v/ B1 z9 w5 u, }( o- F1 }/ d; M3 b; r
解决办法:
2 o8 }7 n+ g; I7 \' [[root@centos7-9 yum.repos.d]# yum install -y http://mirror.centos.org/centos/ ... 10-3.el7.x86_64.rpm
$ S4 Y/ |. f3 o- F: [Loaded plugins: fastestmirror
5 t' W3 k$ E; ~2 s. urh-php72-php-json-7.2.10-3.el7.x86_64.rpm                 |  54 kB  00:00:00     
( ~/ D8 g' Z9 yExamining /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- m) ~* Q1 c6 k" b
Marking /var/tmp/yum-root-iNb3tR/rh-php72-php-json-7.2.10-3.el7.x86_64.rpm to be installed7 q; A2 i& j5 I0 k) ^/ y$ k
Resolving Dependencies! A3 ^2 N( s; S' L) H
--> Running transaction check+ |/ }7 y' K+ G- a; N8 h
---> Package rh-php72-php-json.x86_64 0:7.2.10-3.el7 will be installed! I3 [; W! S2 x( B+ s$ i7 ~
--> 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
1 p9 t8 `1 m/ WLoading mirror speeds from cached hostfile
8 l+ x2 M  |$ w3 d# l* L! J * base: mirrors.aliyun.com- Q$ {/ W; i# e+ C1 g
* centos-sclo-rh: mirrors.tuna.tsinghua.edu.cn
! d1 L+ ], k4 x$ E; o * centos-sclo-sclo: mirrors.aliyun.com
/ D/ O% o- ]) g * epel: ftp.riken.jp! }; p6 o! |) b
* extras: mirrors.aliyun.com- h; [( a( \# @1 d
* updates: mirrors.aliyun.com
7 Z' x+ o1 T, K--> Running transaction check
: S8 }4 p* t8 p: \+ J6 z9 ?---> Package rh-php72-php-common.x86_64 0:7.2.10-3.el7 will be installed
0 [: g4 G$ F% }8 P0 l+ i--> 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
8 c5 L; L1 G/ a" _/ U3 v: z--> Processing Dependency: rh-php72-runtime for package: rh-php72-php-common-7.2.10-3.el7.x86_64
) a) {- L" B3 w. w--> Running transaction check# J! [: }, L; j& f: E3 h
---> Package rh-php72-php-zip.x86_64 0:7.2.10-3.el7 will be installed
5 s  j2 r0 c( K---> Package rh-php72-runtime.x86_64 0:1-2.el7 will be installed4 _9 o" X: N: J- y2 z; {& b8 O
--> Finished Dependency Resolution
: i  i/ O( Z( @$ n
. k5 v  z2 C/ {  Z+ X. v( d, LDependencies Resolved+ F( N/ y+ E" i( H5 Z! b1 r
+ ?1 P) i7 g7 b* e8 g8 X. s
=================================================================================: S+ v& f: P( e
Package             Arch   Version      Repository                         Size
0 y2 U2 g- }$ G4 h- u7 u=================================================================================
) X+ ?- _; t; T- f3 IInstalling:  ]' a- A& L2 A$ Z% L! J9 n
rh-php72-php-json   x86_64 7.2.10-3.el7 /rh-php72-php-json-7.2.10-3.el7.x86_64
: \+ F: Z2 y6 I5 Q                                                                            44 k1 \- @5 o3 ~9 n! B2 I
Installing for dependencies:
$ ]& V  _8 L+ {7 V/ ~) q rh-php72-php-common x86_64 7.2.10-3.el7 centos-sclo-rh                    672 k  w  ^$ S& f( F; T. a( D9 y* j
rh-php72-php-zip    x86_64 7.2.10-3.el7 centos-sclo-rh                     90 k
- y1 U1 x2 E2 _& O rh-php72-runtime    x86_64 1-2.el7      centos-sclo-rh                    1.1 M  O3 U% x  A" s: o# [- l
# u7 V8 u; S, K0 M# I) ?
Transaction Summary1 d# d$ ]& H* b# \8 L% {
=================================================================================
) O& L: a% t( l. ]- G  AInstall  1 Package (+3 Dependent packages)1 F5 w) X6 A1 L! }. u+ ?: n

% B$ y* O/ q5 vTotal size: 1.9 M
% x) P4 ?/ _+ A, S1 N, w1 N" iTotal download size: 1.9 M
* u0 x/ r$ l, l0 @3 f8 O: ?Installed size: 6.4 M' k& S+ C# P& f' E: C+ Z2 v
Downloading packages:4 O3 U  f3 Y8 O4 t1 f7 Z
(1/3): rh-php72-php-zip-7.2.10-3.el7.x86_64.rpm           |  90 kB  00:00:00     
$ r- `! Y! j( g; I, s- s6 r(2/3): rh-php72-php-common-7.2.10-3.el7.x86_64.rpm        | 672 kB  00:00:00     
7 [' S2 M1 F/ e& Q5 q, Z% \(3/3): rh-php72-runtime-1-2.el7.x86_64.rpm                | 1.1 MB  00:00:00     
7 U6 k5 i' j; s5 `---------------------------------------------------------------------------------
9 l9 P, S0 ]" A  FTotal                                               3.9 MB/s | 1.9 MB  00:00     
8 V6 T, k& X: r2 U: KRunning transaction check# {  ^  u  J2 P: g$ c1 b; x; {: I
Running transaction test3 F1 Z; S8 N3 z8 c/ m  m
Transaction test succeeded6 O3 j2 e) \7 ^8 J9 }, T
Running transaction
: l3 g" Y( Y) G: p  Installing : rh-php72-runtime-1-2.el7.x86_64                               1/4 9 w+ T% r, @2 z4 H6 D6 p
  Installing : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4 2 W  b4 b* X/ [$ }  a) ~' z" H
  Installing : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4
  W4 B6 `. K) q$ {% P5 K+ _$ b6 Y6 U+ U" F7 q0 e' A
Installing : rh-php72-php-json-7.2.10-3.el7.x86_64                         4/4 3 p. t/ U. m9 [8 h2 {8 |: W  t
  Verifying  : rh-php72-php-json-7.2.10-3.el7.x86_64                         1/4
2 ~: L4 Q/ M% u2 D! w. {4 f' s  Verifying  : rh-php72-php-zip-7.2.10-3.el7.x86_64                          2/4
  j0 t/ C: ?3 V  Verifying  : rh-php72-php-common-7.2.10-3.el7.x86_64                       3/4 6 U7 r) O3 p3 e' p5 A6 X9 F
  Verifying  : rh-php72-runtime-1-2.el7.x86_64                               4/4 8 n* c+ b* K7 X8 v( F8 B4 ?

: {+ X+ a- n9 f# rInstalled:
. n8 q+ k. @  E4 n6 J7 Y+ ~& ]& p  rh-php72-php-json.x86_64 0:7.2.10-3.el7                                       
. N4 w' ]/ T. `) z/ `$ W* `
/ Y1 ?! U3 P8 L( d# l& SDependency Installed:8 ~6 v" F; s4 g$ K) F" c: K1 F
  rh-php72-php-common.x86_64 0:7.2.10-3.el7                                      ; C3 ~9 e% p  L6 `! f5 C
  rh-php72-php-zip.x86_64 0:7.2.10-3.el7                                           c* V' g4 k$ f8 B
  rh-php72-runtime.x86_64 0:1-2.el7                                             
2 J* v* z! R$ G, [2 w4 |1 {7 l  I
3 l- M3 ~6 P7 t/ h2 L2 MComplete!
+ E* ]9 |- P! J( a" a  m
3 S" u/ E) u- h( f: j, s6 c+ m8 a& m  S
' |+ {# U9 I% Q8 u

1 R( r+ J( U+ K
4 C" b% d( K3 Q* S. r- ]; F( _6 d
 楼主| 发表于 2022-10-25 11:04:53 | 显示全部楼层
[root@centos7-9 ~]# systemctl stop  rh-php71-php-fpm.service) D3 P) v1 \  \! V2 i& ~# x

' i6 F: ^  e" v[root@centos7-9 ~]# systemctl stop  rh-php73-php-fpm.service, p& N7 i- Z5 u- f5 s' O* B
[root@centos7-9 ~]# systemctl start  rh-php73-php-fpm.service. t3 P9 I( B( U( Z0 y  M
[root@centos7-9 ~]# systemctl status  rh-php73-php-fpm.service4 d5 i9 o) f) _; M% L( ^) j/ \
● rh-php73-php-fpm.service - The PHP FastCGI Process Manager
4 R% o: D2 L4 |1 o5 h   Loaded: loaded (/usr/lib/systemd/system/rh-php73-php-fpm.service; disabled; vendor preset: disabled)! A6 ?8 I7 E, e6 R
   Active: active (running) since Tue 2022-10-25 10:45:42 CST; 5s ago/ h0 I5 T( q1 Z+ h, s9 X. R
Main PID: 3550 (php-fpm)
: |% s( X9 a5 k   Status: "Ready to handle connections"0 ^( B6 C+ C0 m* {+ }
   CGroup: /system.slice/rh-php73-php-fpm.service" U9 A. J; |$ K* ~% ]: b5 O0 c' ^
           ├─3550 php-fpm: master process (/etc/opt/rh/rh-php73/php-fpm.conf)
8 \! L2 w) G1 |% z. m           ├─3551 php-fpm: pool www
" o9 y) H* {  H           ├─3552 php-fpm: pool www
: P, Z2 c  e6 V           ├─3553 php-fpm: pool www
4 D( t' k9 ?& n% M6 w' x$ p3 P. R4 w           ├─3554 php-fpm: pool www* Q( w" G+ u9 @0 j$ |
           └─3555 php-fpm: pool www, D0 n- ^# M5 w5 \
1 e# x& J0 n; N5 G9 ?
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Starting The PHP FastCGI Proc..... j- K7 T9 Y% m' c% K- w
Oct 25 10:45:42 centos7-9.novalocal systemd[1]: Started The PHP FastCGI Proce..../ U* m% g2 j) z  K1 ?4 W" k( j+ R
Hint: Some lines were ellipsized, use -l to show in full.
3 a; q( w+ x) b6 {4 i[root@centos7-9 ~]# systemctl disable  rh-php71-php-fpm.service' X( ]0 X: I/ _6 A! _6 }) J; \5 F
Removed symlink /etc/systemd/system/multi-user.target.wants/rh-php71-php-fpm.service.
/ E/ a: l4 x/ W4 b5 `3 J( e2 N+ G5 I' z' z
3 ]' k7 p! O7 E& H/ k
[root@centos7-9 ~]# systemctl enable  rh-php73-php-fpm.service : o+ D  U3 M9 c+ C# X8 H
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.
+ r, i9 L& y$ Q/ A( B! J2 \" [
- {6 h& C( b! L9 x问题解决:7 W5 r/ k* B4 j3 L

% ~; _) n9 P  J; P
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

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

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

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

GMT+8, 2026-4-8 21:41 , Processed in 0.047956 second(s), 22 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

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