How do I upgrade php to multi-version

OS type and version Ubuntu Linux 18.04.6
Webmin version 1.999
Usermin version 1.854
Virtualmin version 7.1-1
Theme version 19.99
Package updates 2 package updates are available

Please could you help me on how to upgrade PHP 7.2.24 to multi-version?

Kind regards,


@calport thanks for your response, I followed the instructions but below is the response that I got:
Output from LC_ALL=C.UTF-8 add-apt-repository -y ppa:ondrej/php && apt-get update …

/bin/sh: 1: add-apt-repository: not found
Reading package lists…
Building dependency tree…
Reading state information…
E: Unable to locate package php*-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,xml,zip}
E: Couldn’t find any package by glob ‘php*-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,xml,zip}’
E: Regex compilation error - Invalid content of {}
E: Couldn’t find any package by regex ‘php*-{cgi,cli,fpm,pdo,gd,mbstring,mysqlnd,opcache,xml,zip}’

Please how do I resolve this?


apt-get install software-properties-common
apt-get update

Then follow instructions from Virtualmin’s official documentation via the link in my previous message, as you had before. It should work this time around.

@calport Many thanks it works!!!