Ubuntu 20.04
Virtualmin version 6.16
Webmin version 1.973
Cannot enable the GMP math extension. Virtualmin came with libgmp10 6.2.0+dfsg-4.
In both the global and the domain’s php.ini file added
extension=gmp.so
also tried
extension=gmp (that was originally commented out in the php.ini)
Rebooted the server but GMP extension is not listed in phpinfo() and GMP functions are not working. How can I fix it? Thank you.
The libgmp10 6.2.0+dfsg-4 package that came with Virtualmin seems to be corrupted. The status is ‘unknown’ and cannot be uninstalled.
Finally fixed it by running sudo apt install php-gmp