Your Php Installation Appears

Trying to install WordPress or visit your site only to encounter an error that says, “Your PHP installation appears to be missing the MySQL extension which WordPress requires.” As with somewhat WordPress error messages.

However, don’t despair! Usually, this error means that something is going mistaken with the code on your site and something is stopping WordPress from being able to connect to its MySQL database. In this article, we’ll review what that “something” might be and share some tips on troubleshooting and fixing this error message.

What Reasons for the WordPress Missing MySQL Extension Error?

What Reasons for the WordPress Missing MySQL Extension Error?


As we mentioned in the overview, the error message “Your PHP installation appears to be missing the MySQL extension, which remains required by WordPress” stems from some issue with the code on your server.

This error means that your server’s PHP doesn’t have the virtual extension to connect your WordPress site to its MySQL database. There are two chief reasons why this might be the case:

  1. You’re Using an Outdated Form of WordPress with PHP 7+

If you’re using an outdated version of WordPress with a modern version of PHP, you might encounter this error because PHP 7.0 deprecated the MySQL extension in favor of MySQLi. PHP 7+ no longer comprises the MySQL extension that WordPress is looking for.

  1. You’re Consuming PHP 5.6 or Lower, but the Extension Is Missing or Wrongly Configured

The other likely cause is that you remain using PHP 5.6 (before the MySQL extension was deprecated), but the attachment is either missing or improperly configured.

Updating Your Code

Updating Your Code


If your website has remained upgraded to PH P over 7.0 and you see this error, you must update your WordPress core version and plugins to use the newer MySQLi or PDO_MySQL extensions instead.

Updating WordPress

DreamHost WordPress installations made via the panel remain always set to update automatically (unless you specifically turn it off).

You can update your plugins in your dashboard:

If you’ve manually installed WordPress, see the following article for instructions on how to update:

Streamline WordPress Website Maintenance

WordPress is literally one of the most stable and reliable CMS that you can ever work with, but you might still encounter problems (rarely though) that come with it. You might encounter an error message: “It seems that the missing MySQL extension of the PHP installation cannot support the WordPress functions.” However, you may as well try a few methods to overcome this barrier.

As we discussed, there are four measures you can take to solve this error in WordPress:

  • Update your WordPress software and plugins.
  • Check your PHP version and update it if necessary.
  • Ensure that the MySQL extension remains installed.
  • Verify that the PHP extension remains configured correctly.

To support prevent WordPress errors from happening in the future and make troubleshooting and resolving any issues easier. It’s essential to back up your site in real-time.


In this article, we have figured out the causes for the “your PHP installation appears to be missing the MySQL extension which remains required by WordPress” error.  A missing MySQL extension, an outdated WordPress version, or an older version of PHP.