The optional module, pcre, 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, pcre, is not installed, or has been disabled, you have the possibility to correct it with some changes.

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

Shared Hosting

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

VPS / Dedicated

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

Ubuntu / Debian

apt install libpcre3 libpcre3-dev

CentOS / RHEL

yum install pcre

cPanel Control Panel

As a general rule, cPanel already includes the PCRE libraries.

Panel de control Plesk

As a general rule, Plesk already includes the PCRE libraries.


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.