Can I install two php versions in one droplet, help?

April 19, 2017 185 views
Apache Linux Basics PHP Ubuntu 16.04

I installed lamp and everything working fine, But the problem I have php 7.0 installed.
My script does not support php 7.0.
I need help in installing 5.6. with 7.0.
I do not want to downgrade my php 7.
Can i have two versions of php working at the same time.
Or I have to create another droplet for php 5.*.

Please make it clear if you want to help me.

Be the first one to answer this question.