php alternative 7.0 code example Example: change php version ubuntu Click to copy$ sudo update-alternatives --config php or $ sudo a2enmod php7.1(version)