This is a little .sh script interface that allow switch between PHP 5 and PHP 7 versions on Ubuntu based Distros(Over 14.04), executed on your terminal.
The switcher currently changes between PHP 5 and PHP 7, for that reason that two version need to be installed on your system. You can found there the installation steps of PHP 7.0 (and 5.6) on Ubuntu.
More accurate Information on this post! THIS ONE
Download the file and execute it as a normal .sh on your computer
First at all open your terminal and locate the downloaded file on your computer, then runs the next.
chmod +x PHP-Switcher.sh
./PHP-Switcher.sh
If you have troubles with the permissions try to execute it as superuser:
sudo chmod +x PHP-Switcher.sh
sudo ./PHP-Switcher.sh
Select your option and enjoy this little helper
- Jose Pablo Arce
Thanks a lot to everyone on this post, that was so helpful to create this helper.