{"id":2692,"date":"2024-02-01T20:13:00","date_gmt":"2024-02-01T20:13:00","guid":{"rendered":"https:\/\/wpconsults.com\/?p=2692"},"modified":"2024-02-01T20:13:04","modified_gmt":"2024-02-01T20:13:04","slug":"your-php-installation-appears-to-be-missing-the-mysql-extension","status":"publish","type":"post","link":"https:\/\/www.wpconsults.com\/en_gb\/your-php-installation-appears-to-be-missing-the-mysql-extension\/","title":{"rendered":"How to Fix &#8220;Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress&#8221; Error"},"content":{"rendered":"<p class=\"wp-block-paragraph\">If you encounter <strong>&#8220;Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress&#8221;<\/strong> error message when trying to install or access your WordPress site, it means that your PHP installation on the server does not have the right MySQL extension to connect your WordPress site to its MySQL database.<br><br>In other words, your WordPress version is not compatible with the PHP version you are using.<\/p>\n\n\n<style>.kb-image2692_d28977-57 .kb-image-has-overlay:after{opacity:0.3;}.kb-image2692_d28977-57 img.kb-img, .kb-image2692_d28977-57 .kb-img img{border-top:0px solid #c5cbe9;border-right:0px solid #c5cbe9;border-bottom:0px solid #c5cbe9;border-left:5px solid rgba(245,51,114,0.49);}@media all and (max-width: 1024px){.kb-image2692_d28977-57 img.kb-img, .kb-image2692_d28977-57 .kb-img img{border-top:0px solid #c5cbe9;border-right:0px solid #c5cbe9;border-bottom:0px solid #c5cbe9;border-left:5px solid rgba(245,51,114,0.49);}}@media all and (max-width: 767px){.kb-image2692_d28977-57 img.kb-img, .kb-image2692_d28977-57 .kb-img img{border-top:0px solid #c5cbe9;border-right:0px solid #c5cbe9;border-bottom:0px solid #c5cbe9;border-left:5px solid rgba(245,51,114,0.49);}}<\/style>\n<figure class=\"wp-block-kadence-image kb-image2692_d28977-57 size-full kb-filter-earlybird\"><img data-recalc-dims=\"1\" fetchpriority=\"high\" decoding=\"async\" width=\"701\" height=\"259\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-21.png?resize=701%2C259&#038;ssl=1\" alt=\"How to Fix &quot;Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress&quot; Error overview\" class=\"kb-img wp-image-2755\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-21.png?w=701&amp;ssl=1 701w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-21.png?resize=300%2C111&amp;ssl=1 300w\" sizes=\"(max-width: 701px) 100vw, 701px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">There are several possible causes and solutions for this issue. In this article, we will cover a series of solutions.<\/p>\n\n\n\n<p class=\"has-text-color has-link-color wp-elements-0c275e4bd4d58df5e6688bce70f73fda wp-block-paragraph\" style=\"color:#5b5b5b;font-size:19px;text-decoration:underline\"><em><strong>Note:<\/strong> before doing any changes I highly recommend to backup your website<\/em>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-497ac897c4624c2b4d4704038a61b126\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)\">1. Update WordPress<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using an outdated version of WordPress with a modern version of PHP (7.0 or higher), you might encounter this error because PHP 7.0 deprecated the MySQL extension in favor of <strong>MySQLi<\/strong>. That means that PHP 7+ no longer includes the MySQL extension that WordPress is looking for.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Modern versions of WordPress (3.9 or higher) will use the newer<strong> PDO_MySQL<\/strong> or <strong>MySQLi<\/strong> extensions instead. However, older versions of WordPress might cause this problem.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix this, you need to update your WordPress core software to the latest version. You can do this in two ways:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1: Update from your WordPress dashboard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you can log in to your WordPress dashboard, you can update WordPress from there. Go to <strong>Dashboard &gt; Updates<\/strong> and click on <strong>Update Now<\/strong>. <\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"1024\" height=\"385\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/02\/image-1024x385.png?resize=1024%2C385&#038;ssl=1\" alt=\"Showing how to Update wordpress from your WordPress dashboard\" class=\"wp-image-2765\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image.png?resize=1024%2C385&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image.png?resize=300%2C113&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image.png?resize=768%2C289&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image.png?w=1290&amp;ssl=1 1290w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">WordPress will automatically download and install the latest version.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2: Update manually via FTP<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you cannot log in to your WordPress dashboard, you can update WordPress manually via FTP. You will need an FTP client like Filezilla and your FTP credentials from your web host.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Download the latest version of WordPress from <a href=\"https:\/\/wordpress.org\/download\/\" rel=\"nofollow noopener\" target=\"_blank\">https:\/\/wordpress.org\/download\/<\/a><\/li>\n\n\n\n<li>Unzip the downloaded file on your computer.<\/li>\n\n\n\n<li>Log in to your server using your FTP client.<\/li>\n\n\n\n<li>Rename your existing <strong>wp-includes<\/strong> and <strong>wp-admin<\/strong> folders to something like <strong>wp-includes.old<\/strong> and <strong>wp-admin.old<\/strong><\/li>\n\n\n\n<li>Upload the new <strong>wp-includes<\/strong> and <strong>wp-admin<\/strong> folders from the unzipped file to your server.<\/li>\n\n\n\n<li>Upload all the files from the unzipped file&#8217;s root folder (<mark style=\"background-color:rgba(0, 0, 0, 0);color:#ff0000\" class=\"has-inline-color\">except <strong>wp-config.php<\/strong><\/mark>) to your server, overwriting the existing files.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" decoding=\"async\" width=\"951\" height=\"702\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-25.png?resize=951%2C702&#038;ssl=1\" alt=\"\" class=\"wp-image-2759\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-25.png?w=951&amp;ssl=1 951w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-25.png?resize=300%2C221&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-25.png?resize=768%2C567&amp;ssl=1 768w\" sizes=\"(max-width: 951px) 100vw, 951px\" \/><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit <code>yourdomain.com\/wp-admin\/upgrade.php<\/code> in your browser. WordPress will run some database updates if needed.<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-329a36c5a9ad96e3da77c6b9262cf73c\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)\">2. Update .HTACCESS File<\/h2>\n\n\n\n<p class=\"has--font-size wp-block-paragraph\"> Go to your cPanel, open file manager and edit .htaccess file and check if you find something like this then remove and check if problem solved or not.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"854\" height=\"257\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/02\/image-11.png?resize=854%2C257&#038;ssl=1\" alt=\".htaccess file sample with error code\" class=\"wp-image-2780\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-11.png?w=854&amp;ssl=1 854w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-11.png?resize=300%2C90&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-11.png?resize=768%2C231&amp;ssl=1 768w\" sizes=\"(max-width: 854px) 100vw, 854px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">If you see something like marked in above image, then delete and save it. Now check if problem solved or not.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-3101f7a622baa689268d96339d227b0b\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)\">3. Check and Update PHP version<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The first step is to find out which version of PHP your server is running. You can do this in two ways:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1: Check php version from your WordPress dashboard<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you can log in to your WordPress dashboard, you can check the PHP version from there. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Go to <strong>Tools &gt; Site Health<\/strong> and look for the <strong>PHP version<\/strong> under <strong>Site Health Status<\/strong>. WordPress will tell you if your PHP version is up to date or needs to be updated.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"650\" height=\"255\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-23.png?resize=650%2C255&#038;ssl=1\" alt=\"checking php version from tools&gt;site health \" class=\"wp-image-2757\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-23.png?w=650&amp;ssl=1 650w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-23.png?resize=300%2C118&amp;ssl=1 300w\" sizes=\"(max-width: 650px) 100vw, 650px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2: Check php version from your FTP client<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you cannot log in to your WordPress dashboard, you can check the PHP version from your FTP client. You will need an FTP client like Filezilla and your FTP credentials from your web host.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your server using your FTP client<\/li>\n\n\n\n<li>Open your <strong>public_html<\/strong> folder. This is the root directory of your WordPress site<\/li>\n\n\n\n<li>Create a blank file and name it <strong>phpinfo.php<\/strong><\/li>\n\n\n\n<li>Edit this file and add the following code:<\/li>\n<\/ul>\n\n\n\n<div class=\"wp-block-kevinbatdorf-code-block-pro cbp-has-line-numbers\" data-code-block-pro-font-family=\"Code-Pro-JetBrains-Mono-NL.ttf\" style=\"font-size:.75rem;font-family:Code-Pro-JetBrains-Mono-NL,ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,monospace;--cbp-line-number-color:#F8F8F2;--cbp-line-number-width:calc(1 * 0.6 * .75rem);line-height:1.25rem;--cbp-tab-width:2;tab-size:var(--cbp-tab-width, 2)\"><span role=\"button\" tabindex=\"0\" data-code=\"<?phpphpinfo();?&gt;\" style=\"color:#F8F8F2;display:none\" aria-label=\"Copy\" class=\"code-block-pro-copy-button\"><svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" style=\"width:24px;height:24px\" fill=\"none\" viewbox=\"0 0 24 24\" stroke=\"currentColor\" stroke-width=\"2\"><path class=\"with-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M4.5 12.75l6 6 9-13.5\"><\/path><path class=\"without-check\" stroke-linecap=\"round\" stroke-linejoin=\"round\" d=\"M16.5 8.25V6a2.25 2.25 0 00-2.25-2.25H6A2.25 2.25 0 003.75 6v8.25A2.25 2.25 0 006 16.5h2.25m8.25-8.25H18a2.25 2.25 0 012.25 2.25V18A2.25 2.25 0 0118 20.25h-7.5A2.25 2.25 0 018.25 18v-1.5m8.25-8.25h-6a2.25 2.25 0 00-2.25 2.25v6\"><\/path><\/svg><\/span><pre class=\"shiki dracula\" style=\"background-color: #282A36\" tabindex=\"0\"><code><span class=\"line\"><span style=\"color: #FF79C6\">&lt;?<\/span><span style=\"color: #F8F8F2\">php<\/span><\/span>\n<span class=\"line\"><span style=\"color: #50FA7B\">phpinfo<\/span><span style=\"color: #F8F8F2\">();<\/span><\/span>\n<span class=\"line\"><span style=\"color: #FF79C6\">?&gt;<\/span><\/span><\/code><\/pre><\/div>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Save and upload this file to your server<\/li>\n\n\n\n<li>Visit<strong> <code>yourdomain.com\/phpinfo.php<\/code><\/strong> in your browser. You should see a page with information about your PHP configuration, including the PHP version.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-24.png?resize=1024%2C490&#038;ssl=1\" alt=\"\" class=\"wp-image-2758\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-24.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-24.png?resize=300%2C144&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-24.png?resize=768%2C368&amp;ssl=1 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color has-medium-font-size wp-elements-b7fbe2b166610334b134c8f02149ae47\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)\">3.1) Update PHP Version<\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your cPanel account<\/li>\n\n\n\n<li>Go to <strong>Software &gt; PHP Selector<\/strong> or something like that.<\/li>\n\n\n\n<li>Select latest PHP version and <strong>Save<\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"599\" height=\"312\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-26.png?resize=599%2C312&#038;ssl=1\" alt=\"\" class=\"wp-image-2761\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-26.png?w=599&amp;ssl=1 599w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-26.png?resize=300%2C156&amp;ssl=1 300w\" sizes=\"(max-width: 599px) 100vw, 599px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-41ad06bd319ca475c35a5edee1932146\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--50);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--50)\">4. Install required MySQL extensions<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If you are using PHP 5.6 or lower (before the MySQL extension was deprecated), but the extension is missing or improperly configured, you might encounter this error as well.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix this, you need to make sure that the MySQL extension is installed and enabled on your server. You can do this in two ways:<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Option 1: Check from phpinfo.php<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have created a <strong>phpinfo.php file<\/strong> in the previous step, you can use it to check if the MySQL extension is installed and enabled on your server.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Visit <code>yourdomain.com\/phpinfo.php<\/code> in your browser<\/li>\n\n\n\n<li>Look for a section called <strong>mysql<\/strong><\/li>\n\n\n\n<li>If you see it, it means that the MySQL extension is installed and enabled on your server<\/li>\n\n\n\n<li>If you don&#8217;t see it, it means that the MySQL extension is missing or disabled on your server<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"488\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/01\/image-27.png?resize=1024%2C488&#038;ssl=1\" alt=\"\" class=\"wp-image-2762\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-27.png?w=1024&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-27.png?resize=300%2C143&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/image-27.png?resize=768%2C366&amp;ssl=1 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Option 2: Check from cPanel<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">If you have access to cPanel, you can use it to check and install the MySQL extension on your server.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Log in to your cPanel account<\/li>\n\n\n\n<li>Go to <strong>Software &gt; Select PHP Version<\/strong><\/li>\n\n\n\n<li>You should see a list of PHP extensions that you can enable or disable on your server<\/li>\n\n\n\n<li>Look for <strong>mysql<\/strong> or <strong>mysqli<\/strong> and make sure they are checked.<\/li>\n\n\n\n<li class=\"has-medium-font-size\"><strong><mark style=\"background-color:rgba(0, 0, 0, 0)\" class=\"has-inline-color has-theme-palette-2-color\">If they are not checked, check them and click on Save<\/mark><\/strong><\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"327\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/02\/image-8-1024x327.png?resize=1024%2C327&#038;ssl=1\" alt=\"\" class=\"wp-image-2777\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-8.png?resize=1024%2C327&amp;ssl=1 1024w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-8.png?resize=300%2C96&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-8.png?resize=768%2C245&amp;ssl=1 768w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-8.png?w=1366&amp;ssl=1 1366w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">Check the marked ones.<\/figcaption><\/figure>\n\n\n\n<p class=\"has-theme-palette-7-background-color has-background wp-block-paragraph\">If they are not listed, contact your web host and ask them to install the MySQL extension on your server.<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-7dd4c7365b66c31fc59c0aa74473979c\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--60)\">5. Make sure the PHP extension is configured properly.<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">If the MySQL extension is installed and enabled on your server, but you still see this error, it might be because the PHP extension is not configured properly.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">To fix this, <strong>you need to make sure that the PHP extension is pointing to the correct <\/strong>path<strong> on your server. <\/strong>You can do this by editing your <strong>php.ini<\/strong> file.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Browse <strong>https:\/\/example.com\/phpinfo.php <\/strong>file (that you created) to find out where it is. Look for a line that says <strong>Loaded Configuration File<\/strong> and note down <strong>the path<\/strong>.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"998\" height=\"87\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/02\/image-9.png?resize=998%2C87&#038;ssl=1\" alt=\"\" class=\"wp-image-2778\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-9.png?w=998&amp;ssl=1 998w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-9.png?resize=300%2C26&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-9.png?resize=768%2C67&amp;ssl=1 768w\" sizes=\"(max-width: 998px) 100vw, 998px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Now look for the&nbsp;<strong>extension_dir<\/strong>&nbsp;row.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"972\" height=\"178\" src=\"https:\/\/i0.wp.com\/wpconsults.com\/wp-content\/uploads\/2024\/02\/image-10.png?resize=972%2C178&#038;ssl=1\" alt=\"\" class=\"wp-image-2779\" srcset=\"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-10.png?w=972&amp;ssl=1 972w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-10.png?resize=300%2C55&amp;ssl=1 300w, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/02\/image-10.png?resize=768%2C141&amp;ssl=1 768w\" sizes=\"(max-width: 972px) 100vw, 972px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The file path listed here should match what is listed for the<strong>\u00a0Loaded Configuration File<\/strong>. If not, the next step is to\u00a0<a href=\"https:\/\/stackoverflow.com\/questions\/6165558\/how-can-i-find-my-php-ini-on-wordpress\" target=\"_blank\" rel=\"noreferrer noopener nofollow\">edit your\u00a0php.ini\u00a0file<\/a>\u00a0to correct it. When you\u2019re done, revisit your site to make sure the error is resolved.\u00a0<\/p>\n\n\n\n<h2 class=\"wp-block-heading has-theme-palette-9-color has-theme-palette-2-background-color has-text-color has-background has-link-color wp-elements-497f26069d88c76f90f3ea511859c287\" style=\"padding-top:var(--wp--preset--spacing--40);padding-right:var(--wp--preset--spacing--60);padding-bottom:var(--wp--preset--spacing--40);padding-left:var(--wp--preset--spacing--60)\">6. Use managed WordPress hosting<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To stay away from this kind of technical errors that hampered business operations and give extra hassles it is better to move a good managed WordPress hosting. <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Managed WordPress hosting providers like <a href=\"https:\/\/www.hostg.xyz\/SHDB4\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">Hostinger <\/a>(Budget friendly) and <a href=\"https:\/\/www.cloudways.com\/en\/?id=1410227\" target=\"_blank\" rel=\"noreferrer noopener sponsored nofollow\">CloudWays <\/a>(Value for money) are my recommendation. I personally used them and using for years. <\/p>\n\n\n\n<p class=\"has-text-align-center has-theme-palette-7-background-color has-text-color has-background has-link-color has-medium-font-size wp-elements-415d0c8cf1119eb8b1f1d3101d57ccee wp-block-paragraph\" style=\"color:#8300f6\">For Our Readers <a href=\"https:\/\/www.cloudways.com\/en\/?id=1410227\" target=\"_blank\" rel=\"noreferrer noopener nofollow sponsored\">CloudWays<\/a> Offer 20% Off for 2 Months. Use promo code &#8220;<strong>WpConsults2024&#8243;<\/strong> to grab it ASAP.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Managed WordPress hosting providers normally keeps functional and updated their server based on latest WordPress updates and requirements that eliminate a lot of unnecessary hassles. <\/p>\n\n\n<style>.wp-block-kadence-spacer.kt-block-spacer-2692_10aac9-5b .kt-block-spacer{height:60px;}.wp-block-kadence-spacer.kt-block-spacer-2692_10aac9-5b .kt-divider{border-top-width:1px;height:1px;border-top-color:#eee;width:80%;border-top-style:solid;}<\/style>\n<div class=\"wp-block-kadence-spacer aligncenter kt-block-spacer-2692_10aac9-5b\"><div class=\"kt-block-spacer kt-block-spacer-halign-center\"><hr class=\"kt-divider\"\/><\/div><\/div>\n\n\n\n<p class=\"wp-block-paragraph\">I hope this article helped you fix the error &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;. If you have any questions, ask me in comments.<\/p>\n\n\n\n<p class=\"has-medium-font-size wp-block-paragraph\"><strong>Read More<\/strong><\/p>\n\n\n<ul class=\"wp-block-latest-posts__list wp-block-latest-posts\"><li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/www.wpconsults.com\/en_gb\/difference-between-301-302-307-410-451-redirects-seo-perspective\/\">Difference between 301, 302, 307, 410, &amp; 451 redirects. (SEO Perspective).<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/www.wpconsults.com\/en_gb\/googlebot-only-reads-the-first-2mb-of-your-page-heres-what-that-means-for-your-seo\/\">Googlebot Only Reads the First 2MB of Your Page &#8211; Here&#8217;s What That Means for Your SEO<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/www.wpconsults.com\/en_gb\/most-popular-posts\/\">Most Popular Posts<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/www.wpconsults.com\/en_gb\/patent-exposed-google-trapping-seos-with-fake-ranking-drops\/\">Patent Exposed: Google Trapping SEOs With Fake Ranking Drops!<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/www.wpconsults.com\/en_gb\/fixing-missing-woocommerce-emails-and-delayed-renewals-set-up-a-real-cron-job\/\">Fixing Missing WooCommerce Emails and Delayed Renewals: Set Up a Real Cron Job<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>If you encounter &#8220;Your PHP Installation Appears to Be Missing the MySQL Extension Which Is Required by WordPress&#8221; error message when trying to install or access your WordPress site, it means that your PHP installation on the server does not have the right MySQL extension to connect your WordPress site to its MySQL database. In&#8230;<\/p>","protected":false},"author":1,"featured_media":2764,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"_kad_post_classname":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[7],"tags":[],"class_list":["post-2692","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-tips-tutorials"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/01\/how-to-fix-php-installation-appe-jpg.webp?fit=1280%2C720&ssl=1","jetpack_sharing_enabled":true,"jetpack_likes_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/pboFy3-Hq","jetpack-related-posts":[{"id":2172,"url":"https:\/\/www.wpconsults.com\/en_gb\/create-xml-sitemap-manually\/","url_meta":{"origin":2692,"position":0},"title":"How to Create Sitemap Manually for WordPress: Ultimate Guide","author":"Abdullah Nouman","date":"November 28, 2023","format":false,"excerpt":"Key Takeaways: Generating XML sitemaps is crucial for search engine optimization (SEO) as it helps search engines understand the structure of your site. For WordPress users, creating an XML sitemap without relying on plugins is feasible and beneficial if you want to reduce plugin usage. Automate the process to include\u2026","rel":"","context":"In &quot;SEO&quot;","block_context":{"text":"SEO","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/best-seo-practices\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1204,"url":"https:\/\/www.wpconsults.com\/en_gb\/how-create-wordpress-child-theme\/","url_meta":{"origin":2692,"position":1},"title":"How to Create a WordPress Child Theme","author":"Abdullah Nouman","date":"October 14, 2023","format":false,"excerpt":"When it comes to customizing your WordPress website, creating a child theme is a smart move. Learn how to create for WordPress child theme - It allows you to make changes to your theme without losing any of the customizations when the theme updates. In this blog post, we will\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":1936,"url":"https:\/\/www.wpconsults.com\/en_gb\/read-more-link-to-copied-text\/","url_meta":{"origin":2692,"position":2},"title":"Add &#8216;Read more link to copied text in WordPress","author":"Abdullah Nouman","date":"November 21, 2023","format":false,"excerpt":"One strategy that has gained traction in recent years is the incorporation of \"Read more\" links into copied text. These seemingly simple links offer a wealth of benefits, from boosting website traffic and enhancing user experience.","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2271,"url":"https:\/\/www.wpconsults.com\/en_gb\/wordpress-vs-octobercms\/","url_meta":{"origin":2692,"position":3},"title":"WordPress vs OctoberCMS: Which One To Choose?","author":"Abdullah Nouman","date":"December 11, 2023","format":false,"excerpt":"Choosing the right Content Management System (CMS) is crucial for building a successful website. Two popular options are WordPress and OctoberCMS, each with its strengths and weaknesses. This guide will help you understand the key differences between these platforms and determine the best fit for your needs. WordPress vs OctoberCMS\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":2217,"url":"https:\/\/www.wpconsults.com\/en_gb\/fast-wordpress-hosting-providers\/","url_meta":{"origin":2692,"position":4},"title":"5 Fast WordPress Hosting Providers for Multisite (2026)","author":"Abdullah Nouman","date":"December 6, 2023","format":false,"excerpt":"If you're looking for the fastest WordPress hosting providers to host multiple website, you've come to the right place. Choosing the right hosting service is crucial for the speed and performance of your website. Here are the top 5 hosting providers that offer blazing fast speeds for hosting multiple WordPress\u2026","rel":"","context":"In &quot;Hosting Providers&quot;","block_context":{"text":"Hosting Providers","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/tools-comparison\/hosting-providers\/"},"img":{"alt_text":"Fast WordPress Hosting Providers for Multisite","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/Fast-WordPress-Hosting-Providers-for-Multisite-jpeg.webp?fit=1024%2C1024&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/Fast-WordPress-Hosting-Providers-for-Multisite-jpeg.webp?fit=1024%2C1024&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/Fast-WordPress-Hosting-Providers-for-Multisite-jpeg.webp?fit=1024%2C1024&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2023\/12\/Fast-WordPress-Hosting-Providers-for-Multisite-jpeg.webp?fit=1024%2C1024&ssl=1&resize=700%2C400 2x"},"classes":[]},{"id":2523,"url":"https:\/\/www.wpconsults.com\/en_gb\/duplicate-posts-pages-in-wordpress\/","url_meta":{"origin":2692,"position":5},"title":"How to Duplicate Posts and Pages Without Plugin in WordPress","author":"Abdullah Nouman","date":"January 3, 2024","format":false,"excerpt":"Duplicating existing content can save you time and effort, allowing you to quickly create new variations of page, post or landing page without starting from scratch. While WordPress doesn't have a built-in duplicate feature, you can easily add this functionality using a simple code snippet. Here's a step-by-step guide: 1.\u2026","rel":"","context":"In &quot;WordPress Tips &amp; Tutorials&quot;","block_context":{"text":"WordPress Tips &amp; Tutorials","link":"https:\/\/www.wpconsults.com\/en_gb\/category\/wordpress-tips-tutorials\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/www.wpconsults.com\/wp-content\/uploads\/2024\/05\/WpConsults-Default-post-thumbnail-jpg.webp?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]}],"_links":{"self":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts\/2692","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/comments?post=2692"}],"version-history":[{"count":0,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/posts\/2692\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/media\/2764"}],"wp:attachment":[{"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/media?parent=2692"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/categories?post=2692"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.wpconsults.com\/en_gb\/wp-json\/wp\/v2\/tags?post=2692"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}