This topic seems to lead to a lot of posts of late.
What would be the feasibility of listing installed and installable versions where you select the version you want? Kind of like Webmin’s unused modules?
I’d guess Virtualmin would need to install the correct repos or at least read them somehow for versions? It occurs to me as I write this that at least a link to the documentation page where you select the version would be a step in the right direction.
How many of us care (or even use PHP?) OK I use it. But only for Roundcube. I don’t care which version is used and am content that the installed version is kept up to date by the package manager for the OS.
If I was ever to install an app that depended on PHP I would ensure the app was using the current up-to-date version. Is it really beyond folk to follow the docs as they are to install multiple versions?
It seems to me that some folk are having enough problems deciding which webserver to install without the extra complication of deciding which PHP version.
I’m linking to the docs for this quite frequently, so it isn’t working for a lot of users. To me that indicates a deficiency in the user interface. At minimum, a link to the docs might help.
But, for that I rely on Virtualmin staff to maintain those scripts to use the “current” version. As I said the PHP version used should be the one maintained by the OS package manager. There is just too much junk code out there on the web that is poorly maintained and using stale (and insecure) versions that folk do not maintain. Other than the almost de facto installation of Roundcube (using the script) I do not have a single client using PHP (Go, NodeJS) it is a bit like Basic, Algol, Fortran, Cobol, Egyptian Hieroglyphs → the past!
maybe I am splitting hairs here, just want to be sure I understand the issue — are you focused on INSTALLING the various php versions at the Linux O/S level,
or —
selecting which php version out of those that are installed, that a specific Virtualmin Virtual Server will use — this part is easy – on several of my RedHat 8 systems I have php 7.4, 8.0, 8.1 and 8.2 — Virtualmin makes it very easy to adjust what one VS uses, so its quick and easy to move around between any of those installed php environments.
And I could be mistaken here, I would think in general, the actual php installation at the O/S level would be something for the Webmin side of the menu
The issue is the number of posters here looking to add multiple php setups. Simply trying to make it easier for them to do it or at least find the documentation prior to posting here and some of us repeatedly linking to the docs.