Why not install Latest PHP version with Virtualmin Installation?

SYSTEM INFORMATION
OS type and version CentOS 7.9.2009
Webmin version 1.990
Virtualmin version 6.17
Related packages PHP 8.1

I have seen this a lot of times, Whenever I install Virtualmin and then install a wordpress script, It always installs the php 5.4 or 7.2 with it, But the wordpress’s latest version asks for a newer php version. And then we need to ssh and install the latest php package. Why this workaround is needed, when you can just include the latest php with the virtualmin?

Hello,

This is because Virtualmin installer doesn’t install anything extra on its own but relies on what your standard OS repositories provide. If you want out of the box newer PHP version installed, simply use newer OS version. For example Alma Linux 8 or Ubuntu 20.04.

Why are you installing an old distro if you want new software?

1 Like

Hm, So Installing Virtualmin over a Ubuntu 20.04 or alike will solve this issue. Thanks buddy.

This topic was automatically closed 8 days after the last reply. New replies are no longer allowed.

Ubuntu 20.04 has PHP 7.4.