{"id":1526,"date":"2019-02-08T10:35:56","date_gmt":"2019-02-08T10:35:56","guid":{"rendered":"https:\/\/blog.hostinger.io\/support\/2019\/02\/08\/1583327-how-to-fix-the-missing-mysql-extension-wordpress-error-at-hostinger\/"},"modified":"2026-08-11T06:18:46","modified_gmt":"2026-08-11T06:18:46","slug":"1583327-how-to-fix-the-missing-mysql-extension-wordpress-error-at-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/support\/1583327-how-to-fix-the-missing-mysql-extension-wordpress-error-at-hostinger\/","title":{"rendered":"How to fix the missing MySQL extension WordPress error at Hostinger"},"content":{"rendered":"<p class=\"no-margin\">If you get an error indicating &ldquo;<b>Your PHP installation appears to be missing the MySQL extension which is required by WordPress<\/b>&ldquo;,<b> <\/b>it means that you are using a PHP version that is incompatible with your script&rsquo;s version.<\/p><h2 id=\"h-fix-the-mysql-extension-error\">Fix the MySQL extension error<\/h2><p class=\"no-margin\">This usually happens if your WordPress installation is outdated, as the <b>MySQL extension<\/b> is removed (no longer supported) from PHP 7.0 and beyond.<\/p><ul>\n<li class=\"no-margin\">To fix this, it is <b>strongly recommended<\/b> that you <b><a data-click-id=\"hgr-post-content-link-update-your-wordpress\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/tutorials\/how-to-update-wordpress\/\" target=\"_blank\" rel=\"noopener\">update your WordPress<\/a> <\/b>installation, themes, and plugins to their latest versions, both for <b>security and performance<\/b> reasons.<\/li>\n<li class=\"no-margin\">As a <b>temporary solution<\/b>, you can change the PHP version of your website to <b>5.4 or lower <\/b>by following this guide: <b><a data-click-id=\"hgr-post-content-link-how-to-change-the-php-version-for-subfolders\" class=\"intercom-content-link\" href=\"https:\/\/www.hostinger.com\/support\/4047803-how-to-change-the-php-version-for-subfolders-or-subdomains-in-hostinger\/\" target=\"_blank\" rel=\"noopener\">How to Change the PHP Version for Subfolders<\/a><\/b>.<\/li>\n<\/ul><div class=\"intercom-interblocks-callout\" style=\"background-color: #e3e7fa80;border-color: #334bfa33\">For more on managing your site&rsquo;s PHP extensions in general, see <a data-click-id=\"hgr-post-content-link-how-to-manage-php-extensions-and-options-in-hostinger\" href=\"https:\/\/www.hostinger.com\/support\/4667515-how-to-manage-php-extensions-and-options-in-hostinger\/\">how to manage PHP extensions and options in Hostinger.<\/a><\/div><div><\/div><div><strong>Additional resources<\/strong><\/div><ul>\n<li><a data-click-id=\"hgr-post-content-link-4-ways-to-fix-your-php-installation-appears-to-be-missing-th\" href=\"https:\/\/www.hostinger.com\/tutorials\/php-installation-missing-mysql-extension-wordpress\/\">4 ways to fix &ldquo;your PHP installation appears to be missing the MySQL extension which is required by WordPress.&rdquo;<\/a><\/li>\n<li><a data-click-id=\"hgr-post-content-link-how-to-fix-your-php-installation-appears-to-be-missing-the-m\" href=\"https:\/\/www.youtube.com\/watch?v=UdLwaFHrJFI\" target=\"_blank\" rel=\"noopener\">How to fix &ldquo;Your PHP installation appears to be missing the MySQL extension&rdquo;<\/a><\/li>\n<\/ul>\n","protected":false},"excerpt":{"rendered":"<p>Fixing the &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221; error<\/p>\n","protected":false},"author":581,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"include_on_kodee":true,"footnotes":""},"categories":[179],"tags":[],"class_list":["post-1526","post","type-post","status-publish","format-standard","hentry","category-wordpress-management"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583327-how-to-fix-the-missing-mysql-extension-wordpress-error-at-hostinger","default":1},{"locale":"es-ES","link":"https:\/\/www.hostinger.com\/es\/support\/1583327-como-solucionar-el-error-de-falta-de-extension-mysql-en-wordpress-en-hostinger","default":0},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583327-comment-reparer-l-erreur-wordpress-de-l-extension-mysql-manquante-hostinger","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583327-cara-memperbaiki-kesalahan-wordpress-ekstensi-mysql-yang-hilang-di-hostinger","default":0},{"locale":"pt-BR","link":"https:\/\/www.hostinger.com\/br\/support\/1583327-como-corrigir-o-erro-do-wordpress-de-extensao-mysql-ausente-no-hostinger","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1526","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/comments?post=1526"}],"version-history":[{"count":8,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1526\/revisions"}],"predecessor-version":[{"id":15192,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/posts\/1526\/revisions\/15192"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/media?parent=1526"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/categories?post=1526"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/support\/wp-json\/wp\/v2\/tags?post=1526"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}