Last Updated On By Anmol Lohana
If a user or developer has received the “Your PHP installation appears to be missing the MySQL extension which Is required by WordPress” error, this article will help him fix or resolve it.
This error occurs because of compatibility issues, when the PHP code in the site is not compatible with the version of PHP on the current WordPress site. More specifically, this error was triggered when the MySQL database extension is outdated version, PHP 7.0.
We write this article to help you to fix your problem with the PHP missing MySQL extension error and complete the installation of WordPress successfully.
Missing a PHP extension is not something a user should be worried about. If the users see the following message on their screen when trying to access the WordPress installation via a web browser, you are one of the many WordPress users facing the same problem.
Table of Contents
These are the three steps to fix the error:
Updating your WordPress is the easiest step to fix the error in just two clicks. For updating your WordPress, go to WordPress dashboard >Updates screen and check if there any core updates available, then install or update them. After that check, the error is resolved or not.
Create a info.php file and write inside . Save the file into list of files and log into the site with SFTP using your WordPress site credentials.
Upload the phpinfo file on the server; you can drag and drop the file as well. Then replace the placeholder with your domain.
If the error is not fixed after checking the PHP version on the server, you need to check the info.php file and replace the placeholder with your site domain. Check that you have configured the MySQL extension directory.
In conclusion, we saw the problem was occurring as “Your PHP installation appears to be missing the MySQL extension required by WordPress” error. We write this article to help users or developers to fix this error while doing WordPress installation.
Three steps to resolve this problem were updating the WordPress site, the PHP version on the server, and configuring the MySQL PHP extension.