3

I've scoured the internet for 4 hours now trying to find how to get newer PHP Versions on Webmin. No luck!

Ideally, how do you get PHP 5.5 on Webmin/Virtualmin? If this is not available yet the latest possible version

This is for ubuntu server. (They have a tutorial for cent-os but not .deb based)

2 Answers2

1

It's not just about Webmin, it's about the underlying system. You can't have multiple versions of PHP at the same time in one action, especially with modules — it's not just about how to run apt-get install.

PHP can be used with apache as a module, or with a CGI interface. You can't have two PHP modules at the same time; you can have two php-cgi binaries, but they must have different names/locations, different locations for PHP modules, different locations for includes, etc. You have to build them manually and satisfy all the dependencies and structure. It's not that easy and It's not going to be easy to manage with virtualmin — you need to specify the PHP version for every virtualhost manually in the Apache configuration file, as SeeDeoubleYou did here: Multiple php versions simultaneously on Ubuntu.

You can easily run only one version of PHP with Webmin/Virtualmin, but not multiple.

GioMac
  • 4,754
1

Virtualmin has a guide on this exact issue https://www.virtualmin.com/documentation/web/multiplephp

giorgio79
  • 1,957