For upgrading PHP version you can go through following steps
Run the following command if you are using linux:
For PHP 5.5, PHP 5.6 and PHP 7.0:
sudo apt-add-repository ppa:ondrej/php
For PHP 5.4 (Deprecated, upgrade at least to PHP 5.5):
sudo apt-add-repository ppa:ondrej/php5-oldstable
For PHP 5.5 (Deprecated, use ppa:ondrej/php):
sudo apt-add-repository ppa:ondrej/php5
For PHP 5.6 (Deprecated, use ppa:ondrej/php):
sudo apt-add-repository ppa:ondrej/php5-5.6
sudo apt-get update
If you are WAMP user then refer following link
https://john-dugan.com/upgrade-php-wamp/
Missing extension error
For any missing extension you just need to go php.ini and remove find that extension from the file and remove the semicolon from that line Or if you are on local machine then you can click on wamp,xamp and mamp icon. Go to PHP extensions – > find the missing extension and click on it then restart the server. Following screenshot show how we can do it using wamp.

INSTALL EXTENSION
sudo apt-get install php7.0-intl
sudo apt-get install php7.0-xsl
If you have already upgrade then please run following commnad and restart apache:
sudo apt-get update
sudo /etc/init.d/apache2 restart
To switch from 5.5 to 7
$ sudo a2dismod php5.5
$ sudo a2enmod php7.1
$ sudo service apache2
restart
localhost
Those modules look like the ones often missing on WAMP.