Your PHP installation appears to be missing the MySQL extension which is required by WordPress

The following error may occur when visiting your website using Wordpress:

Your PHP installation appears to be missing the MySQL extension which is required by WordPress.

There are two possible causes and solutions:

Old Wordpress Version

Very old Wordpress versions cannot work with modern versions of PHP. The first step is to make sure you're running a version of Wordpress released in the past year.

Old versions of Wordpress will only function with PHP 5.6 or below. As an immediate solution you can switch to the older PHP version.

Note: Wordpress recommend using a current version of PHP where possible (all of which are available on Valcato Hosting) https://en-gb.wordpress.org/about/requirements/

Missing PHP Extensions

Wordpress is written in the PHP programming language and stores the data in a database system called MySQL. An extension is required to allow PHP to communicate with MySQL databases.

  1. Begin by logging into cPanel and scroll down to the "Software" heading,

  2. Click the "Select PHP Version" Icon,

  3. Click the "Reset to default" button

The configuration changes will be applied immediately to your entire hosting account, and Wordpress should now load.

  • wordpress
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to check the Wordpress version

Keeping the Wordpress software up to date is important to maintaining the security of your...

Optimising Wordpress & Reducing Usage

All Valcato Hosting accounts are located on powerful servers shared between a number of customers...

Excluding folders from Wordpress Permalinks

Permalinks are the permanent URLs to your individual Wordpress blog posts, as well as categories...

Powered by WHMCompleteSolution