The Simple Way | How To Solve Your PHP Installation Appears to be missing the MySQL extension which is required by WordPress

Share and Enjoy !

This is caused when the PHP code in your site is not compatible with the version of PHP your site is currently using. You are likely to encounter after upgrading your PHP .More specifically, the issue is with the outdated MySQL extension which was removed as of PHP 7.0.

The issue is likely to hinder you from logging into the WordPress dashboard.

If you’re using any version of PHP above 7.0 and you’re seeing this error, it’s due to old code that needs to be updated. You will need to upgrade the core WordPress files to the current version, as well as any plugins your site is using.

How To Solve the issue the easiest way

The issue can only be solved through your Cpanel if the error is preventing you from logging into your wordpress dashboard.

The best way to solve it is by removing the old code in your .htaccess public html file. The process will solve your PHP Installation Appears to be missing the MySQL extension which is required by WordPress error and you will be able to log into your wordpress dashboard.

Follow the steps below to do this

  1. Log into your Cpanel
  2. Go to File Manager
  3. Open the public html
  4. Right click on .htaccess file and select ‘edit’
  5. Locate the last part of the code in the panel
  6. Highlight the codes as shown below and delete
  7. Save the changes
  8. That’s it go to your wordpress and log in. By now, you should be able to log in to your wordpress dashboard.

PHP extension

You may need to copy and save the code before deleting it should anything go wrong. However if you do everything right you will be able to log into your WordPress dashboard.

Issues Associated with PHP Upgrade

After updating your PHP and deleting the old code, check your website to certain that it is running properly. One common issue that you may encounter after upgrading your PHP and deleting the old code is that you may be unable to update or install plugins.

However, this should not worry you as you will only need to enable the CSF by adding a simple code on your website.

If you are being blocked updating and installing wordpress plugins, then follow the steps below.

  1. Log into your Cpanel
  2. Go to File Manager
  3. Open the Public html
  4. Locate wp-config.php and right click on it
  5. Select ‘Edit’
  6. Add the code csf -e in the file as shown below.
  7. Save the changes

enabling wordpress dashboardlogin

This way, your website will be up and running normally.

Also Read:Best marketing platforms for any product


Share and Enjoy !

Majira

Keeping you in the loop