Installing PHP 5.6 on Ubuntu 14.04, 16.04 and 17.04
- Lucas
- June 15, 2018
Installing PHP 5.6 on Ubuntu 14.x, Ubuntu 16.x and Ubuntu 17.x has become easy, thanks to the ondrej/php repository (https://launchpad.net/~ondrej). How to install PHP 5.6 on Ubuntu 14.x, Ubuntu 16.x and Ubuntu 17.x ? To install PHP 5.6, simply execute the following sequence of commands: apt-get install python-software-properties add-apt-repository ppa:ondrej/php apt-get update apt-get install php5.6