#! /bin/bash source functions.sh pkgNotInstalled '^php-[57]' fileMustExist /etc/yum.repos.d/remi.repo if ( systemctl status php-fpm &>/dev/null || systemctl status php73-php-fpm &> /dev/null ) ; then e 1 ; else e 0 ; fi fileMustExist /ar/www/html/version.php if ( curl localhost/version.php 2>/dev/null |grep -q 7.3 ) ; then e 1 ; else e 0 ; fi echo