You have to either remove php package names in 'functions/packages.sh', or change their names to the one matches your php72.
the code lines are:
# PHP
if [ X"${DISTRO}" == X'RHEL' ]; then
ALL_PKGS="${ALL_PKGS} php-common php-gd php-xml php-mysql php-ldap php-pgsql php-imap php-mbstring php-pecl-apc php-intl php-mcrypt"
[ X"${WEB_SERVER_IS_APACHE}" == X'YES' ] && ALL_PKGS="${ALL_PKGS} php"