Adding new PHP extentions and enabling them

Hi, I am a new user of virtualmin, and I need to install and enable some extensions in PHP to run my WordPress site.

The list of extensions are : dom,gmagick,SimpleXML,ssh2,xml,xmlreader,curl,date,exif,filter,ftp,gd,hash,iconv,imagick,json,libxml,openssl,pcre,posix, sockets, SPL, tokenizer, lib,mbstring,mysqli.

I have tried to edit php.ini manually but did not work. can you please help me?

OS type and version Ubuntu Linux 20.04.3
Virtualmin version 6.17-3

Just install those extensions using apt and restart the webserver. You don’t need to manually edit the php.ini file(s).

Thank you for your reply, what is apt and how can I find it?

I think Google may know.

Also, it’s easier for beginners to install packages using Webmin / System ⇾ Software Package Updates by listing only new packages and then searching for it, like:


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