Update VestaCP to PHP 7 on CentOS 7

First let’s make sure your server is up to date.

sudo yum update

Now we make sure that yum-utils is installed

sudo yum install yum-utils

If it’s already installed, great move on to the next step, if not then allow it to install.
Now we can enable remi-php70
sudo yum-config-manager –enable remi-php70

Now we can tell yum to update, this will upgrade our old version of PHP to 7
sudo yum update

sudo service php-fpm restart

php -v

Leave a Reply

Your email address will not be published. Required fields are marked *