How to Fix “Your PHP Installation Appears To Be Missing The MySQL Extension Which Is Required By WordPress” Problem.
Have you ever faced the frustrating situation of trying to make technical changes on WordPress, only to be met with an error message that reads, “your PHP installation appears to be missing the MySQL extension which is required by WordPress”? If so, you’re not alone. Fortunately, this blog post is here to help you find the solution to this issue.
Table of contents
Why Are You Witnessing this Error?
This error usually occurs due to an issue on the server’s end. What happens is that a required extension is missing in the PHP code of your WordPress website, which is needed to connect to the MySQL database and enable your website to function properly.
In other words, the PHP version you are using may not be compatible with the version of WordPress you are running.
But don’t worry, this error is manageable. There are three main reasons why this error occurs:
- 1.You may have an outdated version of the MySQL extension. This is usually a problem when you are using PHP 7.0 or higher, as for theseversions, the MySQL extension was terminated.
- 2.You could be using an outdated version of WordPress, which may make it hard for the platform to fetch the MySQL extension.
- 3.You may have an outdated version of the MySQL extension. This is usually a problem when you are using PHP 7.0 or higher, as for these versions, the MySQL extension was terminated.
How to Fix the Missing MySQL Extension in the PHP Installation Error?
Verify the Eligible PHP Version
First and foremost, you need to check if you have a compatible version of PHP installed. The eligible version of PHP for the MySQL extension is 5.6 or lower. In this method, we will guide you through the steps using the CentOS panel. However, you can also use an FTP client like Filezilla to accomplish the task.