@calport thanks for your response, I followed the instructions but below is the response that I got:
1.
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
2.
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}’
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.