{"id":2571,"date":"2021-03-03T11:09:32","date_gmt":"2021-03-03T11:09:32","guid":{"rendered":"https:\/\/www.arzhost.com\/?p=1792"},"modified":"2023-10-04T14:59:25","modified_gmt":"2023-10-04T14:59:25","slug":"your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/","title":{"rendered":"your php installation appears to be missing the mysql extension"},"content":{"rendered":"<p>When you visit our word press site, you will see this type of error. <strong>(<\/strong><span style=\"color: #0000ff;\"><a style=\"color: #0000ff;\" href=\"https:\/\/arzhost.com\/blogs\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/\">your PHP installation appears to be missing the MySQL extension which is required by WordPress<\/a><\/span><strong>)<\/strong><\/p>\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_74 counter-hierarchy ez-toc-counter ez-toc-grey ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1 ' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#A_question_is_a_rise_why_did_this_error_come_And_how_to_resolve_it\" >A question is a rise why did this error come? And how to resolve it?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/arzhost.com\/blogs\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#How_to_resolve_your_PHP_installation_appears_to_be_missing_the_MySQL_extension_which_is_required_by_WordPress\" >How to resolve your PHP installation appears to be missing the MySQL extension which is required by WordPress<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/arzhost.com\/blogs\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#Mysql_is_installed\" >Mysql is installed?<\/a><\/li><\/ul><\/nav><\/div>\n<h2><span class=\"ez-toc-section\" id=\"A_question_is_a_rise_why_did_this_error_come_And_how_to_resolve_it\"><\/span>A question is a rise why did this error come? And how to resolve it?<span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>This happens when your PHP code is not well suited to the current version of PHP which your site is currently using. If you are using any version of PHP over 7.0 might be possible you can see this error. It happened due to the old code is not updated. you should upgrade WordPress core files to the current version as well as the plugin which you use on your site.<\/p>\n<ul>\n<li>How to check which version of PHP your site is using?<\/li>\n<li>Firstly check which PHP version of your site is using.<\/li>\n<li>If you want to see the information about your PHP server and which version you are using.<\/li>\n<li>you use phpinfo () this is a function of PHP it shows you reliable information about the PHP server and PHP version.<\/li>\n<li>There is another function which is the PHP version () it displays only the information about the PHP version.<\/li>\n<\/ul>\n<p>On your website go to the document root directory and upload a PHP file using the FTP client.<\/p>\n<p><img fetchpriority=\"high\" decoding=\"async\" title=\"How Do I Resolve GPSVC Service Failed the Sign in?\" class=\"size-full wp-image-1793 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/upload-php-file.png\" alt=\"upload php file\" width=\"972\" height=\"191\" \/>open your browser then you go to your domain.com\/phpinfo.php, now you can see the version of the PHP server on your screen.<\/p>\n<p><img decoding=\"async\" title=\"php server version\" class=\"size-full wp-image-1794 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/php-server-version.png\" alt=\"php server version\" width=\"890\" height=\"781\" \/><\/p>\n<h2><span class=\"ez-toc-section\" id=\"How_to_resolve_your_PHP_installation_appears_to_be_missing_the_MySQL_extension_which_is_required_by_WordPress\"><\/span><strong>How to resolve your PHP installation appears to be missing the MySQL extension which is required by WordPress<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p><strong>Upgrade WordPress :<\/strong><\/p>\n<p>If you have to update your PHP version over 7.0 and still see this error you must upgrade your WordPress core files and plugin.<\/p>\n<p>Login to your account and follow these steps:<\/p>\n<p><img decoding=\"async\" title=\"How Do I Resolve GPSVC Service Failed the Sign in?\" class=\"size-full wp-image-1795 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/dashboad-update.png\" alt=\"dashboad update\" width=\"933\" height=\"317\" \/><\/p>\n<p>Click on the update button and upgrade your WordPress.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Fix the #550 Permanent Failure for One or More Recipients Error\" class=\"size-full wp-image-1796 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/upgrade-wordpress.png\" alt=\"upgrade wordpress\" width=\"546\" height=\"137\" \/><\/p>\n<p>you can see that an update is available now update WordPress and check whether your problem is resolve or not.<\/p>\n<h2><span class=\"ez-toc-section\" id=\"Mysql_is_installed\"><\/span><strong>Mysql is installed?<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n<p>if you have to update your word press and your problem isn\u2019t resolve then you should check that your MySQL is installe and enabled or not.<\/p>\n<p>If MySQL is not install then you should create an <strong>info.php <\/strong>file in the root directory of your WordPress via FTP.<\/p>\n<p>It will look like this:<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"550 Permanent Failure for One or More Recipients\" class=\"size-full wp-image-1797 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/php-info-file.png\" alt=\"php info file\" width=\"132\" height=\"111\" \/><\/p>\n<p>Save this file and go to the browser and type <strong>https:\/\/.www.ourdomain.com\/info.php<\/strong>. you can see a page that contains the information about your PHP installation.<\/p>\n<p>If it is install it shows like the client API library version.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" title=\"Permanent Failure for One\" class=\"size-full wp-image-1798 aligncenter\" src=\"https:\/\/arzhost.com\/inc\/uploads\/2020\/11\/api-library.png\" alt=\"api library\" width=\"903\" height=\"107\" \/><\/p>\n<p>If this it\u2019s looks empty then the extension is not install. Installation of steps depends on your host and system.<\/p>\n<p>If your host is using Cpanel then you can change the extension of MySQL. By clicking on the select PHP version in your software.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>When you visit our word press site, you will see this type of error. (your PHP installation appears to be missing the MySQL extension which is required by WordPress) A question is a rise why did this error come? And how to resolve it? This happens when your PHP code is not well suited to [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":2993,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[32],"tags":[],"table_tags":[],"class_list":["post-2571","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-php"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/2571","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=2571"}],"version-history":[{"count":5,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/2571\/revisions"}],"predecessor-version":[{"id":8491,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/2571\/revisions\/8491"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/2993"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=2571"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=2571"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=2571"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=2571"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}