Alterar versão php ubuntu
$ sudo update-alternatives --config php
or
$ sudo a2enmod php7.1(version)
tsnl_incredible
$ sudo update-alternatives --config php
or
$ sudo a2enmod php7.1(version)
sudo update-alternatives --config php
sudo update-alternatives --config phar
sudo update-alternatives --config phar.phar
sudo update-alternatives --config php
On Mac using Home Brew, you can switch php versions easily:
brew unlink [email protected]
brew link [email protected]
Or follow the upgrade path to get your app to support the newer php version