{"id":731,"date":"2021-07-26T10:05:47","date_gmt":"2021-07-26T10:05:47","guid":{"rendered":"https:\/\/arzhost.com\/blogs\/?p=731"},"modified":"2024-09-24T20:47:43","modified_gmt":"2024-09-24T15:47:43","slug":"fix-mysql-extension-in-wordpress","status":"publish","type":"post","link":"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/","title":{"rendered":"Quick and Easy Guide to Fix MySQL Extension in WordPress"},"content":{"rendered":"\n<p>Missing a major PHP extension isn&#8217;t that something that you should be worried about. In the condition that you, in the long run, you visit the going with a message on your exhibit when trying to get to WordPress foundation clearly through the web program, then you are a few the huge <a href=\"https:\/\/wordpress.com\/\" target=\"_blank\" rel=\"noopener\">WordPress<\/a> customers who are considering dealing with a similar issue. We have to have a quick assistant about <span style=\"color: #000000;\">how you can fix MySQL Extension which is required by WordPress<\/span>. This article provides a step-by-step guide on how to&nbsp;<mark>Fix MySQL Extension in WordPress.<\/mark><\/p>\n\n\n\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 ' ><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#7_Essential_Ways_to_Fix_MYXQL_Extension_which_is_required_by_WordPress\" >7 Essential Ways to Fix MYXQL Extension which is required by WordPress<\/a><\/li><\/ul><\/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\/fix-mysql-extension-in-wordpress\/#Connect_SSH_and_Check_the_PHP_Version\" >Connect SSH and Check the PHP Version<\/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\/fix-mysql-extension-in-wordpress\/#Use_of_Infophp_File\" >Use of Info.php File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Update_the_essential_groups\" >Update the essential groups<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Restart_the_Web_Server\" >Restart the Web Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Updating_PHP\" >Updating PHP<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Searching_Through_Available_Packaged_containing_MySQL\" >Searching Through Available Packaged containing MySQL<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-8\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Restart_Apache\" >Restart Apache<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-9\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#How_can_you_quickly_fix_the_cPanel_Server\" >How can you quickly fix the cPanel Server?<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-10\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Step_by_step_Guide_to_fix_Shared_Hosting\" >Step by step Guide to fix Shared Hosting<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-11\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Quick_Guideline_to_fix_CentOS_Server\" >Quick Guideline to fix CentOS Server<\/a><ul class='ez-toc-list-level-3' ><li class='ez-toc-heading-level-3'><a class=\"ez-toc-link ez-toc-heading-12\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Once_installed_restart_your_web_server_for_Apache_it_is\" >Once installed, restart your web server, for Apache, it is:<\/a><\/li><\/ul><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-13\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Important_Guidelines_to_Repair_on_an_Ubuntu_Server\" >Important Guidelines to Repair on an Ubuntu Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-14\" href=\"https:\/\/arzhost.com\/blogs\/fix-mysql-extension-in-wordpress\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"7_Essential_Ways_to_Fix_MYXQL_Extension_which_is_required_by_WordPress\"><\/span><strong><u>7 Essential Ways to Fix MYXQL Extension which is required by WordPress <\/u><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Connect_SSH_and_Check_the_PHP_Version\"><\/span><strong>Connect SSH and Check the PHP Version <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To fix up the issue, you have to have SSH admittance to the worker. Interface it with your Linux VPS by SSH and afterward check the PHP variant which is as of now being used:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>&#8220;PHP \u2013 V.&#8221;<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Use_of_Infophp_File\"><\/span><strong>Use of Info.php File <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>You can even decide to check the PHP structure by strategies for making undeniable info. Php clearly into your public_html record. This is totally done using the underneath request:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>&#8220;&lt;?PHP phpinfo(); ?> &#8220;<\/li>\n<\/ol>\n\n\n\n<p>Exactly when you make the record, open your #1 web program and access the document or envelope.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Update_the_essential_groups\"><\/span><strong>Update the essential groups <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the event that in the condition that you have been running an Ubuntu VPS and PHP 7, by then run the accompanying referenced order: Able-get update<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>able-get install php7.0-MySQL<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_the_Web_Server\"><\/span><strong>Restart the Web Server <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>By then, at that point, restart your Apache organization for the developments to make results, or then again assuming you are using Nginx + PHP-FPM, by, restart the PHP-FPM organization.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Updating_PHP\"><\/span><strong>Updating PHP <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If somehow in the condition that you are running the PHP 5 runs the below-mentioned command:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>apt-get update<\/li>\n\n\n\n<li>apt-get install PHP-MySQL<\/li>\n<\/ol>\n\n\n\n<p>You need to restart the reasonable set of services for all the odds to produce upon into results.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Searching_Through_Available_Packaged_containing_MySQL\"><\/span><strong>Searching Through Available Packaged containing MySQL <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>To see as, through every one of the accessible bundles that are containing PHP MySQL augmentation, you can discover somehow utilize this underneath referenced order:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Adept-cache search MySQL<\/li>\n<\/ol>\n\n\n\n<p>By then, at that point, in the condition that you have been running a CentOS VPS and you have the PHP 7 introduced directly on your specialist, you need to utilize the underneath referred to request to manage this issue:<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>yum update<\/li>\n\n\n\n<li>yum install php70w-MySQL<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Restart_Apache\"><\/span><strong>Restart Apache <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Restart the Apache or even the PHP-FPM organization inside the design, which you have been utilizing upon as Nginx + PHP-FPM like a web specialist. If you, as time goes on, have the PHP 5 introduced on your CentOS specialist, you need to run the underneath referred to arrange:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>yum update<\/li>\n\n\n\n<li>yum install PHP-MySQL<\/li>\n<\/ol>\n\n\n\n<p>Restart the brief assistance for any movements to convey into the entire results. To look at for all of the available groups that are containing PHP MySQL increase, you would subsequently have the option to utilize the underneath referred to arrange:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>yum search MySQL<\/li>\n<\/ol>\n\n\n\n<p>Right when you have all given the WordPress MySQL transformation extension for the PHP, you can without a truly wonderful stretch advancement back to your entire WordPress structure. If the whole methodology of establishment gets smooth and clear, the message identified with the missing MySQL increment won&#8217;t be introduced before you. You can, later on, proceed with the establishment of your WordPress expansion.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_can_you_quickly_fix_the_cPanel_Server\"><\/span><strong>How can you quickly fix the cPanel Server? <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the event that you are on a cPanel laborer that you have root permission to, you should draw in and present the MySQL PHP module by the utilization of Easy Apache four interfaces in your WHM. Here we step by step guide for your help:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to your main WHM as root.<\/li>\n\n\n\n<li>Choose the alternative of &#8220;EasyApache 4&#8221;. You will see a website page as underneath:<\/li>\n\n\n\n<li>scan for-easyapache-4-choice in-Cpanel<\/li>\n\n\n\n<li>You will see a featured field &#8220;Currently Installed Packages,&#8221; click on the &#8216;redo&#8217; button as demonstrated underneath: tweak easyapache4-alternatives<\/li>\n\n\n\n<li>Once there, pick &#8216;PHP Extensions,&#8217; and in the hunt field kind MySQL, you will see the MySQL alternatives, as considered below: Search for-PHP-MySQL-expansion<\/li>\n\n\n\n<li>Select the required MySQL version according to your necessity of the PHP variants. You can pick the whole model that is shown, and this will cause no issues.<\/li>\n\n\n\n<li>Once you have picked the MySQL expansions there click on &#8220;Survey,&#8221; look down and click on the &#8220;Arrangement&#8221; button, you will see the site page as under cpane-easyapache-4-audit page<\/li>\n\n\n\n<li>easyapache-4-arrangement<\/li>\n\n\n\n<li>Once completed, click on the done choice and check your WordPress setup, and the mistake will be gone.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_by_step_Guide_to_fix_Shared_Hosting\"><\/span><strong>Step by step Guide to fix Shared Hosting <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the condition that you have as time goes on set up WordPress on the normal web working with the account, this mistake is yet unquestionably being instigated using MySQL growth being injured on your web working with the account. To allow it, you need to follow the underneath referred to stages exclusively:<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li>You need to sign in with the cPanel account.<\/li>\n\n\n\n<li>Search for the choice of &#8220;Select PHP Version&#8221; and a short time later snap on it.<\/li>\n\n\n\n<li>Once there, exchange the PHP model to Current from the dropdown as referred to under change-PHP-construction to-close by<\/li>\n\n\n\n<li>Once you have picked the PHP structure as current, tick on the elective that says &#8220;MySQL&#8221; and besides &#8220;mysqlnd&#8221; from the decisions presented and tap on save. cPanel-draw in PHP-MySQL-extension stage 5: Check your WordPress set up and the goof will be no more.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Quick_Guideline_to_fix_CentOS_Server\"><\/span><strong>Quick Guideline to fix CentOS Server <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In the condition that you are running your WordPress site on the CentOS VPS without using any kind of control board, your underlying advance ought to be going to check the PHP model which you have been running.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li># Hypertext Preprocessor &#8211; v<\/li>\n<\/ol>\n\n\n\n<p>I will show you the PHP Version you are eventually running. For our circumstance, this is PHP 7.0. We need to set up the PHP-MySQL expansion for PHP 7.0. We can do this by the use of the going with order:<\/p>\n\n\n\n<ol start=\"2\" class=\"wp-block-list\">\n<li># yum update<\/li>\n\n\n\n<li># yum set up php70w-MySQL<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Once_installed_restart_your_web_server_for_Apache_it_is\"><\/span><strong><u>Once installed, restart your web server, for Apache, it is: <\/u><\/strong><span class=\"ez-toc-section-end\"><\/span><\/h3>\n\n\n\n<ul class=\"wp-block-list\">\n<li>systemctl restart httpd<\/li>\n<\/ul>\n\n\n\n<p>Or<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>service httpd restart<\/li>\n<\/ul>\n\n\n\n<p>After restarting, your WordPress site needs to work accurately.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Important_Guidelines_to_Repair_on_an_Ubuntu_Server\"><\/span><strong>Important Guidelines to Repair on an Ubuntu Server <\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In case you are running your WordPress webpage online on an Ubuntu VPS aside from such a control board, your underlying advance is to examine the PHP variation that you are running as underneath referenced order:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>apt-get update<\/li>\n\n\n\n<li>apt-get set up php7.0-MySQL<\/li>\n<\/ul>\n\n\n\n<p>Once installed, just restart your main internet server, for the Apache, it is:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>service httpd restart<\/li>\n<\/ul>\n\n\n\n<p>After restarting, your main WordPress web page must start to work properly.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span><strong>Conclusion<\/strong><span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Surely, this was a quick discussion about how you can fix MySQL Extension, which is <a href=\"https:\/\/arzhost.com\/blogs\/create-wordpress-website\/\">required by WordPress<\/a>! Follow the means which we have discussed above you in step-by-step detail to quickly fix this whole circumstance. We believe that our quick assistant will make your task a ton straightforward and simple to perform.<\/p>\n\n\n\n<p><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:\/\/arzhost.com\/blogs\/how-to-fix-403-forbidden-error-wordpress\/\">How To Fix 403 Forbidden Error WordPress<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/how-to-get-the-most-out-of-claude-ai\/\">How To Get The Most Out Of Claude Ai<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/bad-gateway-error-502-the-ultimate-guide-to-quick-fixes\/\">Bad Gateway Error (502): The Ultimate Guide to Quick Fixes<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/a-deep-dive-into-todays-best-linux-distros\/\">A Deep Dive Into Today\u2019s Best Linux Distros<\/a><\/li>\n<li><a class=\"wp-block-latest-posts__post-title\" href=\"https:\/\/arzhost.com\/blogs\/domain-investor-terms-powerful-strategy\/\">Domain Investor Terms: Expert Insight on Powerful Strategy<\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Missing a major PHP extension isn&#8217;t that something that you should be worried about. In the condition that you, in the long run, you visit the going with a message on your exhibit when trying to get to WordPress foundation clearly through the web program, then you are a few the huge WordPress customers who [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":7524,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[21,22,14,16,18,15],"tags":[],"table_tags":[],"class_list":["post-731","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-buisness","category-hosting","category-news","category-tutorial","category-website","category-wordpress"],"_links":{"self":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/731","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\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/comments?post=731"}],"version-history":[{"count":4,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/731\/revisions"}],"predecessor-version":[{"id":7525,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/posts\/731\/revisions\/7525"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media\/7524"}],"wp:attachment":[{"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/media?parent=731"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/categories?post=731"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/tags?post=731"},{"taxonomy":"table_tags","embeddable":true,"href":"https:\/\/arzhost.com\/blogs\/wp-json\/wp\/v2\/table_tags?post=731"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}