MySQL extension error on WordPress

If you come across a common MySQL extension error on WordPress which will usually read like this: Your PHP installation appears to be missing the MySQL extension which is required by WordPress, this is not an error on the server.

The issue is caused by the PHP version being used by your WordPress install being different to the PHP version being used by the domain on cPanel. It is usually seen on websites which have been transferred from a different server.

We always recommend using the latest stable version of PHP on cPanel and for your websites and using an older, outdated version of PHP such as 5.6 or earlier or using an out data 7+ PHP version can cause this error if using an outdated version of WordPress.

To fix this issue you need to check the PHP version your website is using and perform any updates to either the PHP version or WordPress version.

by Hostziza support team

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

Related Articles

Fix 500 Internal Server Error on WordPress

If you encounter a 500 Internal Service Error this can be frustrating and maybe a little but...

Fix allow_url_fopen PHP Directive error

f you see an allow_url_fopen PHP Directive error on your website, please log in to your cPanel...

How to add htaccess file on WordPress?

There may be a time when you need to add a .htaccess file to your WordPress website. This...

How to change the WordPress admin password?

The easiest way to change your WordPress admin password is through the admin area. Follow these...

How to install WordPress on cPanel?

Installing WordPress on cPanel can be done in a few ways. You can update the WordPress...

Powered by WHMCompleteSolution