Web >> Development >> PHP >> How to upgrade from PHP5 to PHP7 on Centos 7 linux


## my server was running PHP 5.4 on Centos 7

 

yum install epel-release yum-utils

yum install http://rpms.remirepo.net/enterprise/remi-release-7.rpm

yum-config-manager --enable remi-php73

yum install php php-common php-opcache php-mcrypt php-cli php-gd php-curl php-mysqlnd