Last Revised: October 2, 2021
If in your WordPress Site Health dashboard you see the message The optional module, simplexml, is not installed, or has been disabled, you have the possibility to correct it with some changes.
The optional module, simplexml, is not installed, or has been disabled.
The optional module, simplexml, is not installed, or has been disabled.
Alternative extension
The simplexml extension should only be required if you do not have the possibility to install the extension mod_xml.
- Alternative extension
- Shared Hosting
- VPS / Dedicated
- cPanel Control Panel
- Panel de control Plesk
- About this document
Shared Hosting
In case you have your website with WordPress on a shared hosting, you will need to contact your provider and ask them to activate the PHP simplexml extension.
VPS / Dedicated
If you have access to your VPS or dedicated server, you will need to install the PHP simplexml 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.