install phpmyadmin

Hello all I have just installed Virtualmin on my fresh install of Ubuntu 18.04. I want to install phpmyadmin but am struggling a bit.
My server and software details are as below.
Software Versions
Operating system Ubuntu Linux 18.04.1
Webmin version 1.900
Usermin version 1.751
Perl version 5.026001
BIND version 9.11
Apache version 2.4.29
PHP versions 7.2.10
MySQL version 5.7.24-0ubuntu0.18.04.1

I tried using the scripts installer but it failed to install with the following error: On php 7.2 mcrypt extension has been depreciated.

Does this mean that I need to install a different php version on my server? If so could someone please point me in the right direction.

Thank you in advance.

Here you have a solution as the php-mcrypt has been deprecated:

Not solving your problem, but more of a suggestion, I use this adminer for mysql, I like the bit I can upload that single file, do the work, remove file, a lot more secure…

Thanks Adminer looks like a good alternative and so simple to use!

Thanks very much I will be using Adminer from now on!