Installing PHP5.6 and PHP7

how to have PHP7 and PHP5.6 installed under Apache

sudo apt-get install python-software-properties
sudo add-apt-repository ppa:ondrej/php
sudo apt-get update
sudo apt-get install libapache2-mod-php5.6

sudo a2dismod php7.0
sudo a2enmod php5.6
sudo service apache2 restart

sudo a2dismod php5.6
sudo a2enmod php7.0
sudo service apache2 restart

Check out my new prototype; lighting that responds to music automatically!
6 Lighting :)