Virtualmin with PHP5 and PHP7


I am just wondering if anyone has got Virtualmin working with both PHP5 and PHP7?

I use AWS Instances so can use either Ubuntu (by preference), or CentOS.


With Ubuntu, search on internet for the php ppa ondrej. Follow the instruction to add it to your system (1 line), then apt-get update, apt-get install php5.6 php 7.0 and everything else you need, and you’re good.

no problem with php7 & virtualmin - however, practically every php script we purchased would not run on 7 (yet) so i switched us to 5.6.5