Multiple PHP Versions Ubuntu 16.04

2 posts / 0 new
Last post
#1 Wed, 12/13/2017 - 07:19
munklefish

Multiple PHP Versions Ubuntu 16.04

I have a couple of Ubuntu 16.04 LTS servers running PHP 7. However I need to add transfer a virtual server that still required PHP 5.x.

As a result I need to install PHP 5.x alongside the existing PHP7 installation on the server. I found this document which includes instructions for Ubuntu 14.04 and would like to know if this still applies to Ubuntu 16.04 ????

https://www.virtualmin.com/documentation/web/multiplephp#toc-installing-...

Has anyone here tried this or know whether it is still applicable?

Thanks

Fri, 12/15/2017 - 03:43
Matth
Matth's picture

Hello munklefish,

You can follow those instructions,

https://askubuntu.com/questions/927026/install-php-fpm-5-6-on-ubuntu-xen...

You should also have a look at my warning in this post(Debian9 but potentially same trouble):

https://www.virtualmin.com/node/54688

PS: you can choose directly in Virtualmin per Vhost which PHP version you need to run.

Matth

Topic locked