{"id":2409,"date":"2015-08-30T09:52:14","date_gmt":"2015-08-30T14:52:14","guid":{"rendered":"https:\/\/www.migrate2cloud.com\/blog\/?p=2409"},"modified":"2017-08-30T09:57:03","modified_gmt":"2017-08-30T14:57:03","slug":"your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress","status":"publish","type":"post","link":"https:\/\/www.migrate2cloud.com\/blog\/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 which is required by WordPress"},"content":{"rendered":"<p>We have came across the following error quite a few times.<\/p>\n<p>&nbsp;<\/p>\n<pre class=\"content-title\">Your PHP installation appears to be missing the MySQL extension which is required by WordPress<\/pre>\n<p>Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades.<\/p>\n<p>In PHP 7.x we can fix using the following<\/p>\n<p><code>sudo apt-get install php-mysql<\/code><\/p>\n<p>Older PHP versions can be fixed by the following<\/p>\n<p><code>sudo apt-get install  php5-mysqlnd-ms<\/code><\/p>\n<p>Don&#8217;t forget to restart Apache \/ Nginx or the relevant web server to load the libraries \/ modules.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>We have came across the following error quite a few times. &nbsp; Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[131],"tags":[120,134,687],"class_list":["post-2409","post","type-post","status-publish","format-standard","hentry","category-tools","tag-mysql-2","tag-php","tag-wordpress"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 4.9.10 - aioseo.com -->\n\t<meta name=\"description\" content=\"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"bobinson\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 4.9.10\" \/>\n\t\t<meta property=\"og:locale\" content=\"en_US\" \/>\n\t\t<meta property=\"og:site_name\" content=\"Migrate to Cloud - we make the clouds rain\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud\" \/>\n\t\t<meta property=\"og:description\" content=\"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2015-08-30T14:52:14+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2017-08-30T14:57:03+00:00\" \/>\n\t\t<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n\t\t<meta name=\"twitter:title\" content=\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud\" \/>\n\t\t<meta name=\"twitter:description\" content=\"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can\" \/>\n\t\t<script type=\"application\/ld+json\" class=\"aioseo-schema\">\n\t\t\t{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"BlogPosting\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#blogposting\",\"name\":\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud\",\"headline\":\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress\",\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"},\"datePublished\":\"2015-08-30T09:52:14-05:00\",\"dateModified\":\"2017-08-30T09:57:03-05:00\",\"inLanguage\":\"en-US\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#webpage\"},\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#webpage\"},\"articleSection\":\"Tools, Mysql, PHP, WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#breadcrumblist\",\"itemListElement\":[{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/tools\\\/#listItem\",\"name\":\"Tools\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/tools\\\/#listItem\",\"position\":2,\"name\":\"Tools\",\"item\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/tools\\\/\",\"nextItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#listItem\",\"name\":\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress\"},\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog#listItem\",\"name\":\"Home\"}},{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#listItem\",\"position\":3,\"name\":\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress\",\"previousItem\":{\"@type\":\"ListItem\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/category\\\/tools\\\/#listItem\",\"name\":\"Tools\"}}]},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/\",\"name\":\"bobinson\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#authorImage\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g\",\"width\":96,\"height\":96,\"caption\":\"bobinson\"}},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#webpage\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/\",\"name\":\"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud\",\"description\":\"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can\",\"inLanguage\":\"en-US\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\\\/#breadcrumblist\"},\"author\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"creator\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/author\\\/bobinson\\\/#author\"},\"datePublished\":\"2015-08-30T09:52:14-05:00\",\"dateModified\":\"2017-08-30T09:57:03-05:00\"},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/\",\"name\":\"Migrate to Cloud\",\"description\":\"we make the clouds rain\",\"inLanguage\":\"en-US\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.migrate2cloud.com\\\/blog\\\/#organization\"}}]}\n\t\t<\/script>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud","description":"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can","canonical_url":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"BlogPosting","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#blogposting","name":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud","headline":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress","author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"},"datePublished":"2015-08-30T09:52:14-05:00","dateModified":"2017-08-30T09:57:03-05:00","inLanguage":"en-US","mainEntityOfPage":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#webpage"},"isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#webpage"},"articleSection":"Tools, Mysql, PHP, WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#breadcrumblist","itemListElement":[{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","position":1,"name":"Home","item":"https:\/\/www.migrate2cloud.com\/blog","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/#listItem","name":"Tools"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/#listItem","position":2,"name":"Tools","item":"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/","nextItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#listItem","name":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress"},"previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog#listItem","name":"Home"}},{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#listItem","position":3,"name":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress","previousItem":{"@type":"ListItem","@id":"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/#listItem","name":"Tools"}}]},{"@type":"Organization","@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization","name":"Migrate to Cloud","description":"we make the clouds rain","url":"https:\/\/www.migrate2cloud.com\/blog\/"},{"@type":"Person","@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author","url":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/","name":"bobinson","image":{"@type":"ImageObject","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#authorImage","url":"https:\/\/secure.gravatar.com\/avatar\/75ccdce824303bc4f61f39dec0a643a767f9bda27d54a85334ab60120544971f?s=96&d=mm&r=g","width":96,"height":96,"caption":"bobinson"}},{"@type":"WebPage","@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#webpage","url":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/","name":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud","description":"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can","inLanguage":"en-US","isPartOf":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#website"},"breadcrumb":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/#breadcrumblist"},"author":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"creator":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/author\/bobinson\/#author"},"datePublished":"2015-08-30T09:52:14-05:00","dateModified":"2017-08-30T09:57:03-05:00"},{"@type":"WebSite","@id":"https:\/\/www.migrate2cloud.com\/blog\/#website","url":"https:\/\/www.migrate2cloud.com\/blog\/","name":"Migrate to Cloud","description":"we make the clouds rain","inLanguage":"en-US","publisher":{"@id":"https:\/\/www.migrate2cloud.com\/blog\/#organization"}}]},"og:locale":"en_US","og:site_name":"Migrate to Cloud - we make the clouds rain","og:type":"article","og:title":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud","og:description":"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can","og:url":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/","article:published_time":"2015-08-30T14:52:14+00:00","article:modified_time":"2017-08-30T14:57:03+00:00","twitter:card":"summary_large_image","twitter:title":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress - Migrate to Cloud","twitter:description":"We have came across the following error quite a few times. Your PHP installation appears to be missing the MySQL extension which is required by WordPress Though it may sound tricky, the error can be quickly fixed by installing missing PHP libraries. This often happens because of the upgrades. In PHP 7.x we can"},"aioseo_meta_data":{"post_id":"2409","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":"default","schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"limit_modified_date":false,"created":"2022-12-27 09:26:05","updated":"2026-07-21 15:34:34","ai":null,"breadcrumb_settings":null,"seo_analyzer_scan_date":null},"aioseo_breadcrumb":"<div class=\"aioseo-breadcrumbs\"><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\" title=\"Home\">Home<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\t<a href=\"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/\" title=\"Tools\">Tools<\/a>\n\t\t<\/span><span class=\"aioseo-breadcrumb-separator\">&raquo;<\/span><span class=\"aioseo-breadcrumb\">\n\t\t\tYour PHP installation appears to be missing the MySQL extension which is required by WordPress\n\t\t<\/span><\/div>","aioseo_breadcrumb_json":[{"label":"Home","link":"https:\/\/www.migrate2cloud.com\/blog"},{"label":"Tools","link":"https:\/\/www.migrate2cloud.com\/blog\/category\/tools\/"},{"label":"Your PHP installation appears to be missing the MySQL extension which is required by WordPress","link":"https:\/\/www.migrate2cloud.com\/blog\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress\/"}],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"amp_enabled":true,"_links":{"self":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2409","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/comments?post=2409"}],"version-history":[{"count":2,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2409\/revisions"}],"predecessor-version":[{"id":2411,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/posts\/2409\/revisions\/2411"}],"wp:attachment":[{"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/media?parent=2409"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/categories?post=2409"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.migrate2cloud.com\/blog\/wp-json\/wp\/v2\/tags?post=2409"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}