WordPress is an unbelievably effective and also reputable system for handling your internet site. Nonetheless, it isn’t without mistake. There are a handful of common issues and error messages you may experience, such as “Your PHP installment seems missing the MySQL extension which is required by WordPress”.
How to Fix: Your PHP installation appears to be missing the mysql extension which is required by WordPress
When you discover this message, it can be worrying as well as annoying. Thankfully, there are basic actions you or you WordPress designer can take to much better comprehend both the cause and also option to this issue.
In this message, we’ll clarify what this mistake message suggests and also a few of the prospective reasons behind it. Then we’ll stroll you via the techniques you can make use of to resolve it. Allow’s get started!
In This Post.
What Does “Your PHP Setup Appears to Be Missing the MySQL Expansion Which Is Required by WordPress” Mean?
How to Deal with “Your PHP Installation Seems Missing Out On the MySQL Expansion Which Is Needed by WordPress” (3 Techniques).
Right Here at WP Buffs, we aid web site owners, firm companions, as well as consultant partners keep their WordPress sites 24/7. We do all the hefty lifting for you, so you don’t have to worry about updates or compatibility concerns.
What Does “Your PHP Installment Appears to Be Missing the MySQL Expansion Which Is Required by WordPress” Mean?.
There are a handful of reasons you might see this message on your WordPress site:.
Your PHP installment appears to be missing the MySQL extension which is needed by WordPress.
It means the PHP setup on your web server does not have the needed MySQL expansion to link WordPress to your MySQL database. Support for this expansion was deprecated in variations of PHP 7.0 and also beyond.
This implies that if you’re seeing this message, your WordPress website’s code isn’t compatible with the variation of PHP you’re using. Much more specifically, it can suggest that:.
Your WordPress data are dated.
The MySQL expansion isn’t installed or made it possible for.
The PHP expansion is not configured correctly.
This concern is most usual with brand-new WordPress setups, particularly for sure operating systems that don’t include the MySQL extension by default, such as Linux. It may likewise occur when moving a site or changing your server setup.
Exactly how to Deal with “Your PHP Setup Appears to Be Missing Out On the MySQL Expansion Which Is Needed by WordPress” (3 Techniques) ♂.
The technique you need to make use of to take care of “Your PHP setup seems missing the MySQL expansion which is called for by WordPress” will certainly rely on a handful of variables, including the sort of organizing you utilize. If you’re not comfortable accessing your site documents via File Transfer Protocol (FTP), you may intend to connect to your organizing provider for help.
❌ The ‘Your PHP setup appears to be missing out on the MySQL expansion which is required by WordPress’ mistake can be complicated. Fortunately, there are many ways to repair it! #WordPressCLICK TO TWEET.
Allow’s have a look at 3 possible ways you can solve this issue:.
Update Your WordPress Installation.
Ensure the MySQL Expansion Is Mounted.
Confirm the PHP Extension is Correctly Configured.
- Update Your WordPress Setup.
The first and easiest solution for fixing this mistake message is to upgrade WordPress to one of the most current version. To do this, log into your control panel and choose Updates:.
The ‘Updates’ food selection product in WordPress.
On the next screen, click on Update Currently under the area for WordPress version updates:.
The option to update WordPress to the current version.
Once it’s done, visit your website once more to see whether the problem is fixed.
- Make Sure the MySQL Expansion Is Installed.
If upgrading WordPress does not aid, the next step is to validate whether the MySQL expansion is set up and also enabled. Some running systems don’t consist of the MySQL expansion by default. If you’re making use of one of them, you’ll need to install it yourself.
First, produce an info.php file in the root directory (public.html) of your WordPress site through FTP. It should consist of the following:.
Save your data, then visit it in your internet browser (https://www.yourdomain.com/info.php). You’ll see a web page with the information of your PHP installment.
Search for the mysql or mysqli area. If the expansion is installed, it will present the version beside Customer API:.
The mysqli section of a PHP installation details web page.
If it’s blank, the expansion is not installed. The actions to install it vary depending on your host and systems. For in-depth assistance, you can describe the PHP documentation and also installment guides.
If your host makes use of cPanel, you can make it possible for the MySQL extension by clicking Select PHP Variation under Software:.
The ‘Select PHP Version’ device from cPanel.
After picking one of the most recent PHP variation, tick packages for “mysqli” and/or “mysqlnd”. Conserve your modifications, then revitalize your website to see if the mistake is resolved.
- Validate the PHP Extension Is Properly Set Up.
At this moment, if the concern still isn’t taken care of, it’s most likely that your PHP expansion directory is not configured properly (or whatsoever). Navigate back to the PHP information web page in your web browser to check by searching for “Crammed Setup Documents”.
This is where you’ll discover the documents course worth, which will certainly look something similar to this:.
The Loaded Configuration Data section of a PHP information web page.
Make note of the documents path. Next, situate the extension_dir specification:.
The extension_dir criterion in a PHP details webpage.
The entry must match the Loaded Configuration File path. In the above instance, you’ll discover that it shows the proper extension directory path for the PHP variation. Nevertheless, if your own is indicating the inaccurate area, you’ll require to modify your php.ini file to replace it with the proper one.