{"id":435,"date":"2024-02-27T08:06:05","date_gmt":"2024-02-27T08:06:05","guid":{"rendered":"https:\/\/blog.hostinger.io\/uk\/support\/2024\/02\/27\/1583190-%d1%8f%d0%ba-%d1%80%d0%be%d0%b7%d1%96%d0%b1%d1%80%d0%b0%d1%82%d0%b8-php-%d0%b2-html-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0%d1%85-hostinger\/"},"modified":"2024-02-27T08:06:05","modified_gmt":"2024-02-27T08:06:05","slug":"1583190-%d1%8f%d0%ba-%d1%80%d0%be%d0%b7%d1%96%d0%b1%d1%80%d0%b0%d1%82%d0%b8-php-%d0%b2-html-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0%d1%85-hostinger","status":"publish","type":"post","link":"https:\/\/www.hostinger.com\/ua\/support\/1583190-%d1%8f%d0%ba-%d1%80%d0%be%d0%b7%d1%96%d0%b1%d1%80%d0%b0%d1%82%d0%b8-php-%d0%b2-html-%d1%84%d0%b0%d0%b9%d0%bb%d0%b0%d1%85-hostinger\/","title":{"rendered":"\u042f\u043a \u0420\u043e\u0437\u0456\u0431\u0440\u0430\u0442\u0438 PHP \u0432 HTML-\u0424\u0430\u0439\u043b\u0430\u0445 Hostinger"},"content":{"rendered":"<p class=\"no-margin\">PHP &ndash; &#1094;&#1077; &#1087;&#1086;&#1090;&#1091;&#1078;&#1085;&#1072; &#1089;&#1082;&#1088;&#1080;&#1087;&#1090;&#1086;&#1074;&#1072; &#1084;&#1086;&#1074;&#1072;, &#1103;&#1082;&#1072; &#1074;&#1080;&#1082;&#1086;&#1088;&#1080;&#1089;&#1090;&#1086;&#1074;&#1091;&#1108;&#1090;&#1100;&#1089;&#1103; &#1076;&#1083;&#1103; &#1089;&#1090;&#1074;&#1086;&#1088;&#1077;&#1085;&#1085;&#1103; &#1076;&#1080;&#1085;&#1072;&#1084;&#1110;&#1095;&#1085;&#1080;&#1093; &#1076;&#1086;&#1076;&#1072;&#1090;&#1082;&#1110;&#1074;. &#1047;&#1072;&#1079;&#1074;&#1080;&#1095;&#1072;&#1081; PHP-&#1092;&#1072;&#1081;&#1083;&#1080; &#1084;&#1072;&#1102;&#1090;&#1100; &#1088;&#1086;&#1079;&#1096;&#1080;&#1088;&#1077;&#1085;&#1085;&#1103; <b>.php<\/b>, &#1097;&#1086; &#1076;&#1086;&#1079;&#1074;&#1086;&#1083;&#1103;&#1108; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1091; &#1088;&#1086;&#1079;&#1087;&#1110;&#1079;&#1085;&#1072;&#1074;&#1072;&#1090;&#1080; &#1090;&#1072; &#1086;&#1073;&#1088;&#1086;&#1073;&#1083;&#1103;&#1090;&#1080; &#1111;&#1093; &#1074;&#1110;&#1076;&#1087;&#1086;&#1074;&#1110;&#1076;&#1085;&#1080;&#1084; &#1095;&#1080;&#1085;&#1086;&#1084;. &#1054;&#1076;&#1085;&#1072;&#1082; &#1073;&#1091;&#1074;&#1072;&#1102;&#1090;&#1100; &#1074;&#1080;&#1087;&#1072;&#1076;&#1082;&#1080;, &#1082;&#1086;&#1083;&#1080; &#1084;&#1086;&#1078;&#1077; &#1079;&#1085;&#1072;&#1076;&#1086;&#1073;&#1080;&#1090;&#1080;&#1089;&#1103; &#1074;&#1073;&#1091;&#1076;&#1091;&#1074;&#1072;&#1090;&#1080; PHP-&#1082;&#1086;&#1076; &#1073;&#1077;&#1079;&#1087;&#1086;&#1089;&#1077;&#1088;&#1077;&#1076;&#1085;&#1100;&#1086; &#1074; HTML-&#1092;&#1072;&#1081;&#1083;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1076;&#1083;&#1103; &#1110;&#1085;&#1090;&#1077;&#1075;&#1088;&#1072;&#1094;&#1110;&#1111; &#1076;&#1080;&#1085;&#1072;&#1084;&#1110;&#1095;&#1085;&#1086;&#1075;&#1086; &#1082;&#1086;&#1085;&#1090;&#1077;&#1085;&#1090;&#1091; &#1072;&#1073;&#1086; &#1074;&#1080;&#1082;&#1086;&#1085;&#1072;&#1085;&#1085;&#1103; &#1087;&#1077;&#1074;&#1085;&#1080;&#1093; &#1092;&#1091;&#1085;&#1082;&#1094;&#1110;&#1081; &#1091; &#1089;&#1090;&#1088;&#1091;&#1082;&#1090;&#1091;&#1088;&#1110; HTML. <\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1065;&#1086;&#1073; &#1088;&#1086;&#1079;&#1110;&#1073;&#1088;&#1072;&#1090;&#1080; PHP-&#1082;&#1086;&#1076; &#1074; HTML-&#1092;&#1072;&#1081;&#1083;&#1072;&#1093;, &#1087;&#1086;&#1074;&#1110;&#1076;&#1086;&#1084;&#1090;&#1077; &#1089;&#1077;&#1088;&#1074;&#1077;&#1088;&#1091;, &#1097;&#1086; &#1092;&#1072;&#1081;&#1083;&#1080; <b>.html<\/b> &#1110; <b>.htm <\/b>&#1084;&#1110;&#1089;&#1090;&#1103;&#1090;&#1100; PHP-&#1082;&#1086;&#1076;, &#1074;&#1080;&#1082;&#1086;&#1085;&#1072;&#1074;&#1096;&#1080; &#1076;&#1077;&#1082;&#1110;&#1083;&#1100;&#1082;&#1072; &#1082;&#1088;&#1086;&#1082;&#1110;&#1074;.<\/p><p class=\"no-margin\">\n<\/p><h1 id=\"h_7f54725dce\">&#1050;&#1088;&#1086;&#1082; 1 &ndash; &#1055;&#1110;&#1076;&#1075;&#1086;&#1090;&#1086;&#1074;&#1082;&#1072;<\/h1><p class=\"no-margin\">&#1057;&#1090;&#1074;&#1086;&#1088;&#1110;&#1090;&#1100; <b>&#1088;&#1077;&#1079;&#1077;&#1088;&#1074;&#1085;&#1091; &#1082;&#1086;&#1087;&#1110;&#1102;<\/b> &#1092;&#1072;&#1081;&#1083;&#1091; .htaccess, &#1087;&#1077;&#1088;&#1096; &#1085;&#1110;&#1078; &#1087;&#1088;&#1086;&#1076;&#1086;&#1074;&#1078;&#1091;&#1074;&#1072;&#1090;&#1080;. &#1065;&#1086;&#1073; &#1079;&#1088;&#1086;&#1073;&#1080;&#1090;&#1080; &#1094;&#1077;, &#1089;&#1082;&#1086;&#1087;&#1110;&#1102;&#1081;&#1090;&#1077; &#1092;&#1072;&#1081;&#1083; &#1110; &#1087;&#1077;&#1088;&#1077;&#1081;&#1084;&#1077;&#1085;&#1091;&#1081;&#1090;&#1077; &#1081;&#1086;&#1075;&#1086;, &#1085;&#1072;&#1087;&#1088;&#1080;&#1082;&#1083;&#1072;&#1076;, &#1085;&#1072; <b>.htacces-backup<\/b> &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; <b><a href=\"\/ua\/support\/4548688-%D0%BE%D1%81%D0%BD%D0%BE%D0%B2%D0%BD%D1%96-%D0%B4%D1%96%D1%97-%D0%B2-%D1%84%D0%B0%D0%B9%D0%BB%D0%BE%D0%B2%D0%BE%D0%BC%D1%83-%D0%BC%D0%B5%D0%BD%D0%B5%D0%B4%D0%B6%D0%B5%D1%80%D1%96\" target=\"_blank\" class=\"intercom-content-link\">&#1092;&#1072;&#1081;&#1083;&#1086;&#1074;&#1086;&#1075;&#1086; &#1084;&#1077;&#1085;&#1077;&#1076;&#1078;&#1077;&#1088;&#1072;<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><p class=\"no-margin\">&#1071;&#1082;&#1097;&#1086; &#1092;&#1072;&#1081;&#1083; &#1074;&#1110;&#1076;&#1089;&#1091;&#1090;&#1085;&#1110;&#1081; &#1074; &#1087;&#1072;&#1087;&#1094;&#1110; <b>public_html <\/b>&#1042;&#1072;&#1096;&#1086;&#1075;&#1086; &#1089;&#1072;&#1081;&#1090;&#1091;, <b><a href=\"\/ua\/support\/1583307-%D1%8F%D0%BA-%D1%81%D1%82%D0%B2%D0%BE%D1%80%D0%B8%D1%82%D0%B8-%D1%84%D0%B0%D0%B9%D0%BB-htaccess\" target=\"_blank\" class=\"intercom-content-link\">&#1089;&#1090;&#1074;&#1086;&#1088;&#1110;&#1090;&#1100; &#1081;&#1086;&#1075;&#1086;<\/a><\/b>.<\/p><p class=\"no-margin\">\n<\/p><h1 id=\"h_c1476f1196\">&#1050;&#1088;&#1086;&#1082; 2 &ndash; &#1042;&#1110;&#1076;&#1088;&#1077;&#1076;&#1072;&#1075;&#1091;&#1081;&#1090;&#1077; &#1092;&#1072;&#1081;&#1083; .htaccess<\/h1><p class=\"no-margin\">&#1044;&#1072;&#1083;&#1110; &#1074;&#1110;&#1076;&#1082;&#1088;&#1080;&#1081;&#1090;&#1077; &#1092;&#1072;&#1081;&#1083; <b>.htaccess<\/b> &#1079;&#1072; &#1076;&#1086;&#1087;&#1086;&#1084;&#1086;&#1075;&#1086;&#1102; <b><a href=\"https:\/\/support.hostinger.com\/en\/articles\/7949267-how-to-use-the-file-editor-at-hostinger\" target=\"_blank\" class=\"intercom-content-link\" rel=\"noopener\">&#1092;&#1072;&#1081;&#1083;&#1086;&#1074;&#1086;&#1075;&#1086; &#1088;&#1077;&#1076;&#1072;&#1082;&#1090;&#1086;&#1088;&#1072;<\/a><\/b> &#1110; &#1076;&#1086;&#1076;&#1072;&#1081;&#1090;&#1077; &#1076;&#1086; &#1085;&#1100;&#1086;&#1075;&#1086; &#1085;&#1072;&#1089;&#1090;&#1091;&#1087;&#1085;&#1091; &#1076;&#1080;&#1088;&#1077;&#1082;&#1090;&#1080;&#1074;&#1091;:<\/p><pre><code>AddHandler application\/x-httpd-lsphp .htm .html<\/code><\/pre><p class=\"no-margin\">&#1055;&#1110;&#1089;&#1083;&#1103; &#1079;&#1073;&#1077;&#1088;&#1077;&#1078;&#1077;&#1085;&#1085;&#1103; &#1094;&#1110;&#1108;&#1111; &#1079;&#1084;&#1110;&#1085;&#1080; &#1042;&#1080; &#1079;&#1084;&#1086;&#1078;&#1077;&#1090;&#1077; &#1074;&#1089;&#1090;&#1072;&#1074;&#1083;&#1103;&#1090;&#1080; PHP-&#1082;&#1086;&#1076; &#1073;&#1077;&#1079;&#1087;&#1086;&#1089;&#1077;&#1088;&#1077;&#1076;&#1085;&#1100;&#1086; &#1074; HTML-&#1088;&#1086;&#1079;&#1084;&#1110;&#1090;&#1082;&#1091;.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u0421\u0438\u043d\u0442\u0430\u043a\u0441\u0438\u0447\u043d\u0438\u0439 \u0430\u043d\u0430\u043b\u0456\u0437 PHP \u0443 HTML-\u0444\u0430\u0439\u043b\u0430\u0445<\/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":[202],"tags":[],"class_list":["post-435","post","type-post","status-publish","format-standard","hentry","category-202"],"hreflangs":[{"locale":"en-US","link":"https:\/\/www.hostinger.com\/support\/1583190-how-to-parse-php-in-html-files\/","default":1},{"locale":"fr-FR","link":"https:\/\/www.hostinger.com\/fr\/support\/1583190-comment-analyser-php-dans-les-fichiers-html-chez-hostinger\/","default":0},{"locale":"id-ID","link":"https:\/\/www.hostinger.com\/id\/support\/1583190-bagaimana-caranya-membuat-parsing-php-di-file-html-di-hostinger\/","default":0},{"locale":"pt-PT","link":"https:\/\/www.hostinger.com\/br\/support\/1583190-como-executar-php-em-arquivos-html-hostinger\/","default":0},{"locale":"uk-UA","link":"https:\/\/www.hostinger.com\/ua\/support\/1583190---php--html--hostinger\/","default":0}],"include_on_kodee":true,"_links":{"self":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/435","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/users\/581"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/comments?post=435"}],"version-history":[{"count":0,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/posts\/435\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/media?parent=435"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/categories?post=435"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostinger.com\/ua\/support\/wp-json\/wp\/v2\/tags?post=435"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}