php版本问题导致的itop安装卡60%

php升级,我装个itop,就因为版本问题卡60%,报错:
Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/html/itop/web/core/dbobject.class.php on line 1071
报错:
Missing optional PHP extension: mcrypt. Strong encryption will not be used.

一个命令
yum -y install php
不分青红皂白,统一装7.2,,换一下版本,还得考虑依赖包的兼容问题,,
针对审核问题,我只能说,你们都是大佬66666666666666,掌权人就是不一样php版本问题导致的itop安装卡60%