Category

Promotion

Category

By default, ubuntu16.04 LAMP using PHP7. But we can install additional PHP5.6 without removing PHP7, and you can switch them anytime. Read How to install LAMP Stack on ubuntu16.04 How to install PHP5.6 on Ubuntu16.04 To install additional PHP5.6 on ubuntu16.04 LTS, we have to add repository: add-apt-repository ppa:ondrej/php and update repository by this command: apt-get update After that, you can install PHP5.6 by this Command: apt-get install -y php5.6 php5.6-mysql php-gettext php5.6-mbstring php-xdebug libapache2-mod-php5.6…