yum remove php* yum --enablerepo=remi-php73 install php yum --enablerepo=remi-php73 install php-gd php-mbstring php-mcrypt php-devel php-xml php-zip php-mysqlnd php-common phpmyadmin
Reference: https://www.digitalocean.com/community/questions/trying-to-install-latest-php-version-on-centos-7