Multiple versions of php on Ubuntu 14.04 server

Reading documentation I see its possible to install multiple versions of php on a Centos server. Can you point me to a tutorial that explains how to do this with Ubuntu?

I have a script that needs an older version of php. Thanks in advance.

Status: 
Closed (fixed)

Comments

Howdy -- it's unfortunately not as simple on servers not running CentOS. CentOS makes it an easy process by providing packages designed to be used side-by-side with your existing PHP packages.

Ubuntu and Debian don't provide that unfortunately.

So that only way to achieve that on Ubuntu and Debian would be to compile your own PHP version, then tell Virtualmin your PHP versions location in System Settings -> Virtualmin Config -> PHP options.

Thank you.. that fixed my problem!

Status: Active ยป Fixed