The optional module, xmlreader, is not installed, or has been disabled

Last Revised: October 2, 2021

If in your WordPress Site Health dashboard you see the message The optional module, xmlreader, is not installed, or has been disabled, you have the possibility to correct it with some changes.

The optional module, xmlreader, is not installed, or has been disabled.
The optional module, xmlreader, is not installed, or has been disabled.

Alternative extension

The xmlreader extension should only be required if you do not have the ability to install the mod_xml extension.

Shared Hosting

If you have your website with WordPress on a shared hosting, you should contact your provider and ask them to activate the PHP xmlreader extension.

VPS / Dedicated

If you have access to your VPS or dedicated server, you will need to install the PHP xmlreader extension.

Ubuntu / Debian

apt -y install php-dev gcc libxml2-dev make

CentOS / RHEL

yum -y install epel-release
yum install --enablerepo=epel -y gcc libxml2-devel make

cPanel Control Panel

First we will have to install the libxml2 library and then install PHP.

yum -y install epel-release
yum install --enablerepo=epel -y gcc libxml2-devel make

Panel de control Plesk

First we will have to install the libxml2 library and then install PHP.

Ubuntu / Debian

apt -y install php-dev gcc libxml2-dev make

CentOS / RHEL

yum -y install epel-release
yum install --enablerepo=epel -y gcc libxml2-devel make

About this document

This document is regulated by the EUPL v1.2 license, published in WP SysAdmin and created by Javier Casares. Please, if you use this content in your website, your presentation or any material you distribute, remember to mention this site or its author, and having to put the material you create under EUPL license.