{"id":4855,"date":"2021-02-25T20:14:15","date_gmt":"2021-02-25T20:14:15","guid":{"rendered":"https:\/\/chemicloud.com\/kb\/?post_type=ht_kb&#038;p=4855"},"modified":"2024-10-16T09:28:01","modified_gmt":"2024-10-16T09:28:01","slug":"php-installation-missing-the-mysql-extension-required-by-wordpress","status":"publish","type":"ht_kb","link":"https:\/\/chemicloud.com\/kb\/article\/php-installation-missing-the-mysql-extension-required-by-wordpress\/","title":{"rendered":"How to Fix \u201cYour PHP Installation Appears to be Missing the MySQL Extension Which Is Required by WordPress\u201d Error"},"content":{"rendered":"<p>WordPress is regarded as a highly reliable and powerful software, but it&#8217;s not without it&#8217;s an occasional glitch. There are a handful of common issues users may face and error messages they may encounter. The &#8220;Your PHP installation appears to be missing the MySQL extension required by WordPress&#8221; error is one of those messages.<\/p>\n<p>This message can be frustrating and concerning, but fortunately, there are some easy steps you can take to understand the cause of this problem better and find a solution.<\/p>\n<p>In this KB article, we will discuss what this error means, why it happens, and how you can fix it.<\/p>\n<p>Let&#8217;s go!<\/p>\n<h3 id=\"what-does-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress-mean\">What Does \u201cYour PHP Installation Appears to be Missing the MySQL Extension Which Is Required by WordPress\u201d Mean?<\/h3>\n<p>There are a handful of reasons you might see this message on your WordPress site.<\/p>\n<p>One reason is that the PHP installation on the server doesn&#8217;t have the required MySQL extension to connect WordPress to your MySQL database. It&#8217;s really important to know that support for this extension was deprecated in versions of PHP 7.0 and beyond.<\/p>\n<p>If you are seeing this message, your WordPress&#8217; site core code isn&#8217;t compatible with the version of PHP you&#8217;re using. This can also indicate:<\/p>\n<ul>\n<li>MySQL isn&#8217;t installed or enabled.<\/li>\n<li>The PHP extension is not configured correctly.<\/li>\n<li>Your WordPress files are outdated.<\/li>\n<\/ul>\n<p>This issue is widespread on server environments that don&#8217;t have MySQL installed by default, but at ChemiCloud, this is installed on our servers, so you won&#8217;t have to worry about that being the cause.<\/p>\n<p class=\"p1\"><b>Struggling with WordPress issues? ChemiCloud is the hosting solution designed to save you time! <\/b><span class=\"s1\">\ud83e\udd13<\/span><b> Check out our <\/b><a href=\"https:\/\/chemicloud.com\/managed-wordpress-hosting?utm_source=blog&amp;utm_medium=article#60b65e4e63b58\"><span class=\"s2\"><b>Managed WordPress hosting<\/b><\/span><\/a><b> plans! Try it for just $1!<\/b><\/p>\n<h3 id=\"how-to-fix-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress-error\">How to Fix \u201cYour PHP Installation Appears to be Missing the MySQL Extension Which Is Required by WordPress\u201d Error<\/h3>\n<h3 id=\"update-wordpress\"><span id=\"update-your-wordpress-installation\">Update Your WordPress Installation<\/span><\/h3>\n<p>The easiest way to fix this error and the first thing you should try is to update your WordPress installation to the most recent version. To do this, just log in to your \/wp-admin and click Updates from the left:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4856\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-783x298.jpg\" alt=\"\" width=\"643\" height=\"245\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-783x298.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-300x114.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-768x293.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-50x19.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-60x23.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19-100x38.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/1-19.jpg 1218w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>On the Update page, look for an update to your WordPress installation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4857\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-783x202.jpg\" alt=\"\" width=\"643\" height=\"166\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-783x202.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-300x78.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-768x199.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-50x13.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-60x16.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19-100x26.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/2-19.jpg 816w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Once you&#8217;ve updated, revisit your site and see if your issue is resolved.<\/p>\n<p>If not, proceed to step 2.<\/p>\n<h3 id=\"make-sure-the-mysql-extension-is-installed\">Make Sure the MySQL Extension Is Installed<\/h3>\n<p>If updating your WordPress installation didn&#8217;t help, or you didn&#8217;t have an update to do, the next prudent step would be to check if the MySQL extension is installed and enabled.<\/p>\n<p>Some operating systems don&#8217;t include the MySQL extension by default. If you&#8217;re using a custom operating system configuration, you may need to install it yourself.<\/p>\n<p>You can check if the MySQL extension is installed by creating a php.info in your public_html folder.<\/p>\n<p>Step 1: Open your cPanel and in the Files section, click File Manager:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4858\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-783x291.jpg\" alt=\"\" width=\"643\" height=\"239\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-783x291.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-300x111.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-768x285.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-50x19.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-60x22.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19-100x37.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/3-19.jpg 1444w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Step 2: When the file manager is open, double click the globe icon next to the public_html folder to open the folder.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4859\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-783x579.jpg\" alt=\"\" width=\"643\" height=\"475\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-783x579.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-300x222.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-768x568.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-50x37.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-1536x1136.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-60x44.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16-100x74.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/4-16.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Step 3: When the public_html folder is open, click the + File icon in the top left of the file manager.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4860\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-783x216.jpg\" alt=\"\" width=\"643\" height=\"177\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-783x216.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-300x83.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-768x212.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-50x14.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-1536x424.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-60x17.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17-100x28.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/5-17.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>A modal will appear where you can give the file a name. Enter info.php and click Create a new file.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-4861\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-783x382.jpg\" alt=\"\" width=\"489\" height=\"239\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-783x382.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-300x146.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-768x375.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-50x24.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-60x29.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9-100x49.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/6-9.jpg 799w\" sizes=\"auto, (max-width: 489px) 100vw, 489px\" \/><\/p>\n<p>Step 4: After the file is created, single-click the file in the directory listing, then click Edit at the top:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4862\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-783x244.jpg\" alt=\"\" width=\"643\" height=\"200\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-783x244.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-300x94.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-768x239.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-50x16.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-1536x479.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-60x19.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4-100x31.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/7-4.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>The modal window will appear where you will be given the option to check the UTF encoding.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4866\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-783x555.jpg\" alt=\"\" width=\"643\" height=\"456\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-783x555.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-300x213.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-768x544.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-50x35.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-60x43.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2-100x71.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/8-2.jpg 792w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>95% of users can proceed and click Edit.<\/p>\n    \t\t<div class=\"hts-messages hts-messages--alert  hts-messages--withtitle hts-messages--withicon \"   >\r\n    \t\t\t<span class=\"hts-messages__title\">What if I'm in that 5% of users who can't click edit?<\/span>    \t\t\t    \t\t\t\t<p>\r\n    \t\t\t\t\tContact our support and let them know you installed your WordPress installation using a utf format other than utf-8 and we can help you out! Your native language, or at least the language in which you installed WordPress, probably isn&#8217;t based on the Roman Alphabet. \ud83d\ude09 Not to worry, we are all international here and can get you sorted!     \t\t\t\t<\/p>\r\n    \t\t\t    \t\t\t\r\n    \t\t<\/div><!-- \/.ht-shortcodes-messages -->\r\n    \t\t\n<p>A new window will open with a text editor:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4867\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-783x133.jpg\" alt=\"\" width=\"643\" height=\"109\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-783x133.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-300x51.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-768x131.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-50x8.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-1536x261.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-60x10.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1-100x17.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/9-1.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Copy and paste the text below into the editor, then click Save Changes in the top right:<\/p>\n<pre>&lt;?php\r\n\/\/ Show all information, defaults to INFO_ALL\r\nphpinfo();\r\n\/\/ Show just the module information.\r\n\/\/ phpinfo(8) yields identical results.\r\nphpinfo(INFO_MODULES);<\/pre>\n<p>Your screen should look similar to the one below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4868\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-783x113.jpg\" alt=\"\" width=\"643\" height=\"93\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-783x113.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-300x43.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-768x111.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-50x7.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-1536x223.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-60x9.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10-100x14.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/10.jpg 1918w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Now, open a new tab in your browser and visit https:\/\/yourdomain.tld\/info.php. You&#8217;ll see a page with the details of your PHP installation:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4869\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-778x783.jpg\" alt=\"\" width=\"643\" height=\"647\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-778x783.jpg 778w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-298x300.jpg 298w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-150x150.jpg 150w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-768x773.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-50x50.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-1526x1536.jpg 1526w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-60x60.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11-100x100.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/11.jpg 1919w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Look for the mysql or mysqli section. If the extension is installed, it will display the version next to Client API:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4870\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-783x283.jpg\" alt=\"\" width=\"643\" height=\"232\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-783x283.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-300x108.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-768x278.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-50x18.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-1536x555.jpg 1536w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-60x22.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12-100x36.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/12.jpg 1917w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>If it\u2019s blank, the\u00a0<strong>extension is not installed<\/strong>. Installation steps vary depending on your web host and their servers\/infrastructure. You can refer to the PHP documentation and installation guides for detailed guidance.<\/p>\n<p>If your host uses cPanel, you can enable the MySQL extension by clicking on<strong><em>\u00a0Select PHP Version<\/em><\/strong>\u00a0under\u00a0<em>Software<\/em>:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4871\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-783x221.jpg\" alt=\"\" width=\"643\" height=\"181\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-783x221.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-300x85.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-768x217.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-50x14.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-60x17.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13-100x28.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/13.jpg 1333w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>After choosing the\u00a0<strong>most recent\u00a0PHP version<\/strong>, tick the boxes for \u201cmysqli\u201d and\/or \u201cmysqlnd\u201d. Save your changes, then refresh your site to see if the error is resolved.<\/p>\n<p>If not, proceed to step 3.<\/p>\n<h3 id=\"php-extension-configuration\"><span id=\"verify-the-php-extension-is-properly-configured\">Verify the PHP Extension Is Properly Configured<\/span><\/h3>\n<p>If Step 2 didn&#8217;t help, it&#8217;s highly probable\/likely that your PHP extension directory is not configured properly, if at all. Go back to the php.info page you created and look for &#8220;Loaded Configuration File&#8221;.<\/p>\n<p>This is where you will find the value to the path, which will look very similar to the image below:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4872\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-783x404.jpg\" alt=\"\" width=\"643\" height=\"332\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-783x404.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-300x155.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-768x396.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-50x26.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-60x31.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14-100x52.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/14.jpg 1457w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>Make a note of the path value.<\/p>\n<p>Next, locate the extension_dir parameter:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-large wp-image-4873\" src=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-783x57.jpg\" alt=\"\" width=\"643\" height=\"47\" srcset=\"https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-783x57.jpg 783w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-300x22.jpg 300w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-768x56.jpg 768w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-50x4.jpg 50w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-60x4.jpg 60w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15-100x7.jpg 100w, https:\/\/chemicloud.com\/kb\/wp-content\/uploads\/2021\/02\/15.jpg 1413w\" sizes=\"auto, (max-width: 643px) 100vw, 643px\" \/><\/p>\n<p>The entry should match up with the Loaded Configuration File path. In the above example, you\u2019ll notice that it displays the correct extension directory path for the PHP version installed on our server.<\/p>\n<p>However, if yours points to the incorrect location, you\u2019ll need to edit your php.ini file to replace it with the correct one.<\/p>\n<p>And that&#8217;s it!<\/p>\n<p>These steps will help you get your WordPress site fixed; however, if you have reviewed these steps and are still unable to fix the problem, definitely open a ticket from your Client Area to contact our Support Team 24&#215;7!<\/p>\n<p>If you enjoyed this tutorial, then you\u2019ll love our support! All ChemiCloud\u2019s hosting plans include 24\/7 support from our fantastic support team.<\/p>\n<p>Check out our <span class=\"s1\"><a href=\"https:\/\/chemicloud.com\/managed-wordpress-hosting?utm_source=blog&amp;utm_medium=article#60b65e4e63b58\">Managed WordPress hosting<\/a><\/span>\u00a0plans and have your website migrated today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>WordPress is regarded as a highly reliable and powerful software, but it&#8217;s not without it&#8217;s an occasional glitch. There are a handful of common issues users may face and error messages they may encounter. The &#8220;Your PHP installation appears to be missing the MySQL extension required by WordPress&#8221; error is&#8230;<\/p>\n","protected":false},"author":10,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","meta":{"_crdt_document":"","footnotes":""},"ht-kb-category":[40],"ht-kb-tag":[],"class_list":["post-4855","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-wordpress"],"_links":{"self":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4855","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/users\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/comments?post=4855"}],"version-history":[{"count":5,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4855\/revisions"}],"predecessor-version":[{"id":8481,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb\/4855\/revisions\/8481"}],"wp:attachment":[{"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/media?parent=4855"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-category?post=4855"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/chemicloud.com\/kb\/wp-json\/wp\/v2\/ht-kb-tag?post=4855"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}