Step 1: Fire up PuTTy and check the version of your php:
php -vVestaCP has REMI installed – if not install or update REMI:
yum --enablerepo=remi update remi-releaseStep 2: Now stop Apache and remove php:
service httpd stopyum -y remove phpStep 3: Install php 7.0:
yum --enablerepo=remi-php70 install php70-php php70-php-pear php70-php-bcmath php70-php-pecl-jsond-devel php70-php-mysqlnd php70-php-gd php70-php-common php70-php-fpm php70-php-intl php70-php-cli php70-php php70-php-xml php70-php-opcache php70-php-pecl-apcu php70-php-pecl-jsond php70-php-pdo php70-php-gmp php70-php-process php70-php-pecl-imagick php70-php-devel php70-php-mbstringStep 4: Stop old php:
service php-fpm stopStep 5: Start php 7.0:
service php70-php-fpm startStep 6: Remove the old symblink php:
rm /usr/bin/phpStep 7: Create a new symblink:
ln -s /usr/bin/php70 /usr/bin/phpStep 8: Restart Apache:
service httpd restartStep 9: Check the php version:
php -v