{"id":16109,"date":"2021-02-20T13:15:56","date_gmt":"2021-02-20T06:15:56","guid":{"rendered":"https:\/\/blog.tinohost.com\/?p=7958"},"modified":"2021-02-20T13:15:56","modified_gmt":"2021-02-20T06:15:56","slug":"fix-loi-your-php-installation-appears-in-wordpress","status":"publish","type":"post","link":"https:\/\/tino.vn\/blog\/fix-loi-your-php-installation-appears-in-wordpress\/","title":{"rendered":"H\u01b0\u1edbng d\u1eabn fix l\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;"},"content":{"rendered":"<h2 id=\"L\u1ed7i_&#8220;Your_PHP_installation_appears_to_be_missing_the_MySQL_extension_which_is_required_by_WordPress&#8221;_l\u00e0_g\u00ec?\"><strong>L\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221; l\u00e0 g\u00ec?<\/strong><\/h2>\nN\u1ebfu th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng WordPress, ch\u1eafc h\u1eb3n b\u1ea1n s\u1ebd kh\u00f4ng xa l\u1ea1 g\u00ec l\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;. \u0110\u1eb7c bi\u1ec7t n\u1ebfu s\u1eed d\u1ee5ng CMS WordPress \u0111\u1ec3 x\u00e2y d\u1ef1ng website, b\u1ea1n s\u1ebd g\u1eb7p l\u1ed7i n\u00e0y th\u01b0\u1eddng xuy\u00ean h\u01a1n.\nNguy\u00ean nh\u00e2n ch\u00ednh g\u00e2y l\u1ed7i n\u00e0y l\u00e0 do PHP b\u1ea1n \u0111ang d\u00f9ng kh\u00f4ng ph\u00f9 h\u1ee3p, c\u1ee5 th\u1ec3 nh\u01b0:\n<ul>\n \t<li>Phi\u00ean b\u1ea3n PHP qu\u00e1 c\u0169, kh\u00f4ng \u0111\u00e1p \u1ee9ng \u0111\u01b0\u1ee3c c\u00e1c h\u00e0m m\u1edbi c\u1ee7a WordPress<\/li>\n \t<li>Phi\u00ean b\u1ea3n PHP c\u1ee7a b\u1ea1n ch\u01b0a b\u1eadt ch\u1ee9c n\u0103ng \u0111\u1ec3 ch\u1ea1y c\u00e1c d\u00f2ng l\u1ec7nh SQL<\/li>\n \t<li>Source code c\u1ee7a b\u1ea1n (theme, Plugin) kh\u00f4ng t\u01b0\u01a1ng th\u00edch v\u1edbi phi\u00ean b\u1ea3n PHP 7.0 tr\u1edf l\u00ean<\/li>\n \t<li>Nguy\u00ean nh\u00e2n kh\u00e1c<\/li>\n<\/ul>\n<h2 id=\"Thao_t\u00e1c_fix_l\u1ed7i_&#8220;Your_PHP_installation_appears_to_be_missing_the_MySQL_extension_which_is_required_by_WordPress&#8221;\"><strong><a href=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress-1024x576-1.jpg\"><img decoding=\"async\" class=\"aligncenter size-jnews-750x375 wp-image-7963\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress-1024x576-1-750x300.jpg\" alt=\"fix-loi-your-php-installation-appears-in-wordpress\" width=\"750\" height=\"300\" title=\"\"><\/a>Thao t\u00e1c fix l\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;<\/strong><\/h2>\n<h3 id=\"C\u00e1ch_1:_B\u1eadt_MySQL_Extension\"><strong>C\u00e1ch 1: B\u1eadt <\/strong><strong>MySQL Extension<\/strong><\/h3>\n<h4 id=\"B\u01b0\u1edbc_1:_Xem_MySQL_extension_\u0111\u00e3_b\u1eadt_hay_ch\u01b0a\"><strong>B\u01b0\u1edbc 1: Xem MySQL extension \u0111\u00e3 b\u1eadt hay ch\u01b0a<\/strong><\/h4>\n<ul>\n \t<li>B\u1ea1n t\u1ea1o file<strong> info.php<\/strong> trong th\u01b0 m\u1ee5c ch\u1ee9a m\u00e3 ngu\u1ed3n c\u1ee7a website v\u1edbi n\u1ed9i dung nh\u01b0 sau:<\/li>\n<\/ul>\n<p style=\"text-align: center;\"><strong style=\"font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif;\"><code>&lt;?php phpinfo(); ?&gt;<\/code><\/strong><\/p>\n<ul>\n \t<li>Ti\u1ebfp theo, b\u1ea1n truy c\u1eadp theo \u0111\u01b0\u1eddng d\u1eabn: <em>http:\/\/domain-c\u1ee7a-b\u1ea1n\/info.php<\/em> v\u00e0 t\u00ecm th\u00f4ng tin MySQL xem hi\u1ec7n t\u1ea1i b\u1ea1n c\u00f3 \u0111ang b\u1eadt MySQL hay kh\u00f4ng. N\u1ebfu kh\u00f4ng th\u1ea5y, ngh\u0129a l\u00e0 hosting b\u1ea1n \u0111ang d\u00f9ng ch\u01b0a b\u1eadt MySQL Extension.<\/li>\n<\/ul>\n<h4 id=\"B\u01b0\u1edbc_2:_B\u1eadt_MySQL_Extension\"><strong>B\u01b0\u1edbc 2: B\u1eadt MySQL Extension<\/strong><\/h4>\n<ul>\n \t<li>\b\u0110\u0103ng nh\u1eadp v\u00e0o hosting tr\u00ean h\u1ec7 th\u1ed1ng cpanel b\u1eb1ng t\u00e0i kho\u1ea3n c\u1ee7a nh\u00e0 cung c\u1ea5p. \u1ede \u0111\u00e2y, TinoHost truy c\u1eadp hosting c\u1ee7a TinoHost tr\u00ean h\u1ec7 th\u1ed1ng Cpanel.<\/li>\n \t<li>Truy c\u1eadp <strong>Select PHP Version<\/strong>. <a href=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/image-1.png\"><img decoding=\"async\" class=\"size-jnews-750x375 wp-image-7961 aligncenter\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/image-1-700x375.png\" alt=\"fix-loi-your-php-installation-appears-in-wordpress\" width=\"700\" height=\"375\" title=\"\"><\/a><\/li>\n<\/ul>\n&nbsp;\n<a href=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/Screenshot_145.png\"><img decoding=\"async\" class=\"aligncenter size-full wp-image-7962\" src=\"https:\/\/tino.vn\/blog\/wp-content\/uploads\/2021\/02\/Screenshot_145.png\" alt=\"fix-loi-your-php-installation-appears-in-wordpress\" width=\"700\" height=\"355\" title=\"\"><\/a>\n&nbsp;\n<h3 id=\"C\u00e1ch_2:_N\u00e2ng_c\u1ea5p_phi\u00ean_b\u1ea3n_PHP\"><strong>C\u00e1ch 2: N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP<\/strong><\/h3>\n<ul>\n \t<li>B\u01b0\u1edbc 1: \u0110\u0103ng nh\u1eadp v\u00e0o <em>\/wp-admin<\/em>.<\/li>\n \t<li>B\u01b0\u1edbc 2: Ch\u1ecdn n\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n WordPress m\u1edbi nh\u1ea5t.<\/li>\n<\/ul>\nL\u01b0u \u00fd: B\u1ea1n n\u00ean Backup l\u1ea1i 1 b\u1ea3n tr\u01b0\u1edbc khi th\u1ef1c hi\u1ec7n, \u0111\u1ec1 ph\u00f2ng x\u1ea3y ra l\u1ed7i kh\u00f4ng mong mu\u1ed1n.\n<h3 id=\"C\u00e1ch_3:_N\u00e2ng_c\u1ea5p_phi\u00ean_b\u1ea3n_PHP\"><strong>C\u00e1ch 3: N\u00e2ng c\u1ea5p phi\u00ean b\u1ea3n PHP<\/strong><\/h3>\nPHP b\u1ea1n \u0111ang d\u00f9ng c\u00f3 ph\u1ea3i l\u00e0 phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t?\nN\u1ebfu ch\u01b0a ph\u1ea3i l\u00e0 b\u1ea3n m\u1edbi nh\u1ea5t, b\u1ea1n c\u1ea7n c\u1eadp nh\u1eadt l\u1ea1i.\ncPanel, DirectAdmin, CyberPanel,\u2026 l\u00e0 nh\u1eefng controlpanel h\u1ed7 tr\u1ee3 nhi\u1ec1u phi\u00ean b\u1ea3n PHP. M\u1ed7i lo\u1ea1i server\/controlpanel s\u1ebd c\u00f3 ph\u01b0\u01a1ng \u00e1n config kh\u00e1c nhau. Trong b\u00e0i vi\u1ebft n\u00e0y, TinoHost h\u01b0\u1edbng d\u1eabn b\u1ea1n s\u1eed d\u1ee5ng Cpanel nh\u00e9!\nH\u01b0\u1edbng d\u1eabn c\u1eadp nh\u1eadt:\n<ul>\n \t<li>Truy c\u1eadp v\u00e0o <strong>Cpanel -&gt; Application -&gt; Select PHP Version<\/strong><\/li>\n \t<li>Ch\u1ecdn phi\u00ean b\u1ea3n m\u1edbi nh\u1ea5t v\u00e0 nh\u1ea5n <strong>\u201cSet as current\u201d<\/strong><\/li>\n \t<li>N\u1ebfu b\u1ea1n v\u1eabn g\u1eb7p l\u1ed7i sau khi c\u1eadp nh\u1eadt phi\u00ean b\u1ea3n PHP m\u1edbi nh\u1ea5t, b\u1ea1n c\u1ea7n nh\u1ea5p v\u00e0o <strong>&#8220;Use Default&#8221;<\/strong>\u00a0 \u0111\u1ec3 ho\u1ea1t \u0111\u1ed9ng b\u00ecnh th\u01b0\u1eddng.<\/li>\n<\/ul>\nCh\u00fac b\u1ea1n s\u1ebd fix l\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221; th\u00e0nh c\u00f4ng nh\u00e9!\n<span style=\"font-weight: 400;\">M\u1ecdi th\u1eafc m\u1eafc v\u00e0 g\u00f3p \u00fd li\u00ean quan, xin vui l\u00f2ng<\/span><a href=\"https:\/\/tinohost.com\/lien-he\/\" target=\"_blank\" rel=\"noopener\"> <span style=\"font-weight: 400;\">li\u00ean h\u1ec7 ngay TinoHost<\/span><\/a><span style=\"font-weight: 400;\"> \u0111\u1ec3 \u0111\u01b0\u1ee3c t\u01b0 v\u1ea5n chi ti\u1ebft ho\u1eb7c<\/span><a href=\"https:\/\/www.facebook.com\/tinohostdotcom\/\" rel=\"nofollow noopener\" target=\"_blank\"> <span style=\"font-weight: 400;\">Fanpage<\/span><\/a><span style=\"font-weight: 400;\"> \u0111\u1ec3 c\u1eadp nh\u1eadt nh\u1eefng th\u00f4ng tin m\u1edbi nh\u1ea5t nh\u00e9!<\/span>\n<span style=\"font-weight: 400;\">V\u1edbi b\u1ec1 d\u00e0y kinh nghi\u1ec7m h\u01a1n 5 n\u0103m cung c\u1ea5p hosting, d\u1ecbch v\u1ee5 cho thu\u00ea m\u00e1y ch\u1ee7, c\u00e1c d\u1ecbch v\u1ee5 li\u00ean quan \u0111\u1ebfn t\u00ean mi\u1ec1n v\u00e0 b\u1ea3o m\u1eadt website, h\u00e3y \u0111\u1ec3 TinoHost \u0111\u1ed3ng h\u00e0nh c\u00f9ng b\u1ea1n tr\u00ean con \u0111\u01b0\u1eddng kh\u1eb3ng \u0111\u1ecbnh th\u01b0\u01a1ng hi\u1ec7u tr\u00ean b\u1ea3n \u0111\u1ed3 c\u00f4ng ngh\u1ec7 to\u00e0n c\u1ea7u!<\/span>\n<b><\/b>\n<ul>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><\/span><span style=\"font-weight: 400;\">\n<\/span><span style=\"font-weight: 400;\"><\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><\/span><span style=\"font-weight: 400;\">\n<\/span><span style=\"font-weight: 400;\"><\/span><\/li>\n \t<li style=\"font-weight: 400;\"><span style=\"font-weight: 400;\"><\/span><\/li>\n \t<li style=\"font-weight: 400;\">Website: <a style=\"font-family: -apple-system, BlinkMacSystemFont, &#039;Segoe UI&#039;, Roboto, Oxygen-Sans, Ubuntu, Cantarell, &#039;Helvetica Neue&#039;, sans-serif;\" href=\"https:\/\/tinohost.com\/?aff=447\" target=\"_blank\" rel=\"noopener\"><\/a><\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>L\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221; l\u00e0 g\u00ec? N\u1ebfu th\u01b0\u1eddng xuy\u00ean s\u1eed d\u1ee5ng WordPress, ch\u1eafc h\u1eb3n b\u1ea1n s\u1ebd kh\u00f4ng xa l\u1ea1 g\u00ec l\u1ed7i &#8220;Your PHP installation appears to be missing the MySQL extension which is required by WordPress&#8221;. \u0110\u1eb7c bi\u1ec7t n\u1ebfu s\u1eed d\u1ee5ng CMS WordPress [&hellip;]<\/p>\n","protected":false},"author":19,"featured_media":16110,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5404],"tags":[5682],"class_list":["post-16109","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webmasters","tag-your-php-installation-appears-to-be-missing-the-mysql-extension-which-is-required-by-wordpress"],"_links":{"self":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/16109","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/users\/19"}],"replies":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/comments?post=16109"}],"version-history":[{"count":0,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/posts\/16109\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media\/16110"}],"wp:attachment":[{"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/media?parent=16109"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/categories?post=16109"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tino.vn\/blog\/wp-json\/wp\/v2\/tags?post=16109"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}