Submitted by moimichel on Fri, 04/06/2018 - 08:17
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
Submitted by andreychek on Fri, 04/06/2018 - 09:00 Comment #1
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
Submitted by just_me on Sat, 04/07/2018 - 06:14 Comment #2
sorry to chime in, would this be available on Denian 9.x, notably 9.4 too?
Thanks and best
Submitted by just_me on Sat, 04/07/2018 - 06:14 Comment #3
sorry to chime in, would this be available on Denian 9.x, notably 9.4 too?
Thanks and best