Categories
Courses and Tutorials

Which PHP Modules Are Needed to Run a WordPress Site?

Just moved from Shared to self-managed VPS hosting or minimizing the software needed to run a WordPress site.

Most of us suffered from a Question: Which PHP modules are needed to install and run WordPress as a fully operational website.

Just for the sake of the answer, I tried a dry run and moved this site to another server with a plan to install all the latest web software like Nginx’s latest version, PHP7.4 (heard so much +ve), and MariaDB.

I installed everything except PHP. Then I installed and tested the most required PHP modules one by one to run the WordPress admin.

PHP Modules

Note: I have installed like php7.4-{module}, in the below list I have removed the version number to make you understand better.

  • php-fpm
  • php-cli
  • php-common
  • php-curl
  • php-gd
  • php-imagick
  • php-mbstring
  • php-mysql
  • php-xml
  • php-zip

In my setup, I do not need anything more, and whichever extra required is installed by their required dependencies.

You can also check the latest WordPress’s Site Health feature available under Tools menu to check what is missing and whatnot.

Site Health
Site Health (Tools menu)

So IMO, you do not need anything more than above.

By AtulHost

Hi, I'm Atul Kumar Pandey; also known as AtulHost on the web, a full-time blogger by profession with an objective of sharing fresh and honest contents in business and technology niche.

Leave a Reply