01-28-2021, 09:30 AM
## Install Remi Repository and EPEL Repository on your server :
wget https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm
rpm -ivh https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm
rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
## After you have installed repository you need to follow some extra configurations :
yum install yum-utils
yum-config-manager --enable remi-php73
## Now just run this command :
yum update -y
## Now check the PHP Version
php -v
##If php upgrade process fails (no update/nothing happens) or you upgraded previously from 5.6 to 7.0/7.1/7.2 then you need to run this commands to disable php 5.6/7.0/7.1/7.2 :
##Optional Versions
#yum-config-manager --disable remi-php56
#yum-config-manager --disable remi-php70
#yum-config-manager --disable remi-php71
#yum-config-manager --disable remi-php72
wget https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm
rpm -ivh https://dl.fedoraproject.org/pub/epel/ep...noarch.rpm
rpm -ivh http://rpms.remirepo.net/enterprise/remi-release-7.rpm
## After you have installed repository you need to follow some extra configurations :
yum install yum-utils
yum-config-manager --enable remi-php73
## Now just run this command :
yum update -y
## Now check the PHP Version
php -v
##If php upgrade process fails (no update/nothing happens) or you upgraded previously from 5.6 to 7.0/7.1/7.2 then you need to run this commands to disable php 5.6/7.0/7.1/7.2 :
##Optional Versions
#yum-config-manager --disable remi-php56
#yum-config-manager --disable remi-php70
#yum-config-manager --disable remi-php71
#yum-config-manager --disable remi-php72