Want to install more php version

Hi.

Just installed a new server with virtualmin (LEMP). PHP 7.0 is installed by default.

I would like to install PHP 5.6 (needed for some sites in Drupal 6). I would like to install PHP 7.2.

Which is the best way to do it? without breaking anything? hihi

Is it possible to have the user have the php-cli the same version as the php over http?

Thanks in advance.

Best regards, Michel

Status: 
Active

Comments

Howdy -- what you're saying is correct, Ubuntu ships PHP 7.0 with the distro version you have there.

While Ubuntu doesn't provide additional PHP versions, it is possible to install other PHP versions using the "ondrej" PPA repository.

However, I'm not sure that it's possible to install PHP 5.6 on Ubuntu 16.04. And I don't believe PHP 7.2 is supported yet by Virtualmin.

It should be soon though, and when it is we'll go ahead and add a reference of how to do that to the documentation here:

https://www.virtualmin.com/documentation/web/multiplephp

sorry to chime in, would this be available on Denian 9.x, notably 9.4 too?

Thanks and best

sorry to chime in, would this be available on Denian 9.x, notably 9.4 too?

Thanks and best