{"id":37111,"date":"2019-02-04T18:47:07","date_gmt":"2019-02-04T16:47:07","guid":{"rendered":"https:\/\/tuthost.ua\/faq\/yak-vykorystovuvaty-wp-cli-na-wordpress-hostyngu\/"},"modified":"2024-07-19T19:18:11","modified_gmt":"2024-07-19T16:18:11","slug":"kak-ispolzovat-wp-cli-na-wordpress-hostinge","status":"publish","type":"ht_kb","link":"https:\/\/tuthost.ua\/uk\/faq\/kak-ispolzovat-wp-cli-na-wordpress-hostinge\/","title":{"rendered":"\u042f\u043a \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 WP-CLI \u043d\u0430 wordpress \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443"},"content":{"rendered":"\n<p>\u041d\u0430 \u0442\u0430\u0440\u0438\u0444\u043d\u0438\u0445 \u043f\u043b\u0430\u043d\u0430\u0445 <a href=\"https:\/\/tuthost.ua\/uk\/hosting\/wordpress\/\">\u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443 \u0434\u043b\u044f Wordpress<\/a> \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0437\u0440\u0443\u0447\u043d\u0430 \u0443\u0442\u0438\u043b\u0456\u0442\u0430 \u0434\u043b\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 Wordpress. \u0420\u043e\u0431\u043e\u0442\u0430 \u0437 \u043d\u0435\u044e \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a, \u0430 \u0434\u043b\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b SSH. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u043d\u0435\u043c\u0430\u0454 \u0434\u043e\u0441\u0432\u0456\u0434\u0443 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0438\u043c \u0440\u044f\u0434\u043a\u043e\u043c \u2013 \u043c\u0438 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u043c\u043e \u0432\u0430\u043c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0446\u044e \u0443\u0442\u0438\u043b\u0456\u0442\u0443, \u0442\u043e\u043c\u0443 \u0449\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0438\u043c\u0438 \u0434\u0456\u044f\u043c\u0438 \u2013 \u043c\u043e\u0436\u043d\u0430 \u043f\u043e\u0448\u043a\u043e\u0434\u0438\u0442\u0438 \u0441\u0430\u0439\u0442.<\/p>\n\n<p>\u0423\u0442\u0438\u043b\u0456\u0442\u0430 WP-CLI \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0430, \u0449\u043e\u0431 \u0437\u0440\u043e\u0431\u0438\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0438\u043c \u0448\u0432\u0438\u0434\u043a\u0435 \u0432\u0438\u043a\u043e\u043d\u0430\u043d\u043d\u044f \u0447\u0430\u0441\u0442\u0438\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0456\u0439 \u0437 Wordpress, \u044f\u043a\u0456 \u0437\u0430\u0437\u0432\u0438\u0447\u0430\u0439 \u0440\u043e\u0431\u043b\u044f\u0442\u044c\u0441\u044f \u0432 \u0430\u0434\u043c\u0456\u043d\u0446\u0456 \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a. \u041d\u0430\u043f\u0440\u0438\u043a\u043b\u0430\u0434, \u0432\u0441\u0442\u0430\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f\/\u043e\u043d\u043e\u0432\u043b\u0435\u043d\u043d\u044f \u043f\u043b\u0430\u0433\u0456\u043d\u0456\u0432, \u0434\u043e\u0434\u0430\u0432\u0430\u043d\u043d\u044f \u043a\u043e\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0447\u0456\u0432 \u0456 \u0442.\u0434. \u0420\u043e\u0437\u0440\u043e\u0431\u043d\u0438\u043a\u0438 \u0441\u0430\u0439\u0442\u0456\u0432 \u043d\u0430 Wordpress \u0437\u043c\u043e\u0436\u0443\u0442\u044c \u043e\u0446\u0456\u043d\u0438\u0442\u0438, \u043d\u0430\u0441\u043a\u0456\u043b\u044c\u043a\u0438 \u0432\u043e\u043d\u0430 \u043c\u043e\u0436\u0435 \u043f\u0440\u0438\u0441\u043a\u043e\u0440\u0438\u0442\u0438 \u0440\u043e\u0431\u043e\u0442\u0443 \u043f\u0440\u0438 \u043c\u0430\u0441\u043e\u0432\u0456\u0439 \u0440\u043e\u0437\u0440\u043e\u0431\u0446\u0456 \u0441\u0430\u0439\u0442\u0456\u0432.<\/p>\n\n<p><a rel=\"noopener noreferrer nofollow\" href=\"https:\/\/make.wordpress.org\/cli\/handbook\/quick-start\/\" target=\"_blank\">\u041a\u043e\u0440\u043e\u0442\u043a\u0430 \u0434\u043e\u043a\u0443\u043c\u0435\u043d\u0442\u0430\u0446\u0456\u044f WP-CLI<\/a><\/p>\n\n<p><a rel=\"noopener noreferrer nofollow\" href=\"https:\/\/developer.wordpress.org\/cli\/commands\/\" target=\"_blank\">\u041f\u043e\u0432\u043d\u0438\u0439 \u043f\u0435\u0440\u0435\u043b\u0456\u043a \u043a\u043e\u043c\u0430\u043d\u0434 WP-CLI<\/a><\/p>\n\n<p>\u0429\u043e\u0431 \u043e\u0442\u0440\u0438\u043c\u0430\u0442\u0438 \u0434\u043e\u0441\u0442\u0443\u043f \u0434\u043e SSH &#8211; \u0437\u0430\u043f\u043e\u0432\u043d\u0456\u0442\u044c \u043f\u0440\u043e\u0441\u0442\u0443 \u0444\u043e\u0440\u043c\u0443 \u0434\u043b\u044f \u0437\u0430\u043f\u0438\u0442\u0443 \u0432 \u0442\u0438\u0445. \u043f\u0456\u0434\u0442\u0440\u0438\u043c\u043a\u0443 &#8211; \u043f\u0456\u0441\u043b\u044f \u0447\u043e\u0433\u043e \u043c\u0438 \u0430\u043a\u0442\u0438\u0432\u0443\u0454\u043c\u043e \u0432\u0430\u043c \u0434\u043e\u0441\u0442\u0443\u043f \u0447\u0435\u0440\u0435\u0437 SSH.<\/p>\n\n                <div class='gf_browser_gecko gform_wrapper' id='gform_wrapper_3' ><div id='gf_3' class='gform_anchor' tabindex='-1'><\/div><form method='post' enctype='multipart\/form-data' target='gform_ajax_frame_3' id='gform_3'  action='\/uk\/wp-json\/wp\/v2\/ht-kb\/37111#gf_3'>\n                        <div class='gform_body'><ul id='gform_fields_3' class='gform_fields top_label form_sublabel_below description_below'><li id='field_3_1'  class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_3_1' >Email<span class='gfield_required'>*<\/span><\/label><div class='ginput_container ginput_container_email'>\n                            <input name='input_1' id='input_3_1' type='email' value='' class='medium'    aria-required=\"true\" aria-invalid=\"false\" \/>\n                        <\/div><\/li><li id='field_3_2'  class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_3_2' >\u041b\u043e\u0433\u0456\u043d \u0443 Directadmin<span class='gfield_required'>*<\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_2' id='input_3_2' type='text' value='' class='medium'     aria-required=\"true\" aria-invalid=\"false\" \/><\/div><\/li><li id='field_3_3'  class='gfield gfield_contains_required field_sublabel_below field_description_below gfield_visibility_visible' ><label class='gfield_label' for='input_3_3' >IP \u0430\u0434\u0440\u0435\u0441\u0430 \u0437 \u044f\u043a\u043e\u0457 \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0430\u0442\u0438\u043c\u0435\u0442\u0435\u0441\u044f<span class='gfield_required'>*<\/span><\/label><div class='ginput_container ginput_container_text'><input name='input_3' id='input_3_3' type='text' value='' class='medium'  aria-describedby=\"gfield_description_3_3\"   aria-required=\"true\" aria-invalid=\"false\" \/><\/div><div class='gfield_description' id='gfield_description_3_3'>\u041f\u0435\u0440\u0435\u0432\u0456\u0440\u0438\u0442\u0438 \u0441\u0432\u043e\u044e \u043f\u043e\u0442\u043e\u0447\u043d\u0443 IP-\u0430\u0434\u0440\u0435\u0441\u0443 \u043c\u043e\u0436\u043d\u0430 \u0442\u0443\u0442: https:\/\/whatismyipaddress.com\/<\/div><\/li>\n                            <\/ul><\/div>\n        <div class='gform_footer top_label'> <input type='submit' id='gform_submit_button_3' class='gform_button button' value='\u0412\u0456\u0434\u043f\u0440\u0430\u0432\u0438\u0442\u0438 \u0437\u0430\u043f\u0438\u0442'  onclick='if(window[\"gf_submitting_3\"]){return false;}  if( !jQuery(\"#gform_3\")[0].checkValidity || jQuery(\"#gform_3\")[0].checkValidity()){window[\"gf_submitting_3\"]=true;}  ' onkeypress='if( event.keyCode == 13 ){ if(window[\"gf_submitting_3\"]){return false;} if( !jQuery(\"#gform_3\")[0].checkValidity || jQuery(\"#gform_3\")[0].checkValidity()){window[\"gf_submitting_3\"]=true;}  jQuery(\"#gform_3\").trigger(\"submit\",[true]); }' \/> <input type='hidden' name='gform_ajax' value='form_id=3&amp;title=&amp;description=&amp;tabindex=0' \/>\n            <input type='hidden' class='gform_hidden' name='is_submit_3' value='1' \/>\n            <input type='hidden' class='gform_hidden' name='gform_submit' value='3' \/>\n            \n            <input type='hidden' class='gform_hidden' name='gform_unique_id' value='' \/>\n            <input type='hidden' class='gform_hidden' name='state_3' value='WyJbXSIsIjE0YzUzMTY3ZmViNTQ1MmYyN2U4NDM4ZWZmOWI5MWZhIl0=' \/>\n            <input type='hidden' class='gform_hidden' name='gform_target_page_number_3' id='gform_target_page_number_3' value='0' \/>\n            <input type='hidden' class='gform_hidden' name='gform_source_page_number_3' id='gform_source_page_number_3' value='1' \/>\n            <input type='hidden' name='gform_field_values' value='' \/>\n            \n        <\/div>\n                        <\/form>\n                        <\/div>\n                <iframe style='display:none;width:0px;height:0px;' src='about:blank' name='gform_ajax_frame_3' id='gform_ajax_frame_3' title='Ajax Frame'>This iframe contains the logic required to handle Ajax powered Gravity Forms.<\/iframe>\n                <script type='text\/javascript'>jQuery(document).ready(function($){gformInitSpinner( 3, 'https:\/\/tuthost.ua\/wp-content\/plugins\/gravityforms\/images\/spinner.gif' );jQuery('#gform_ajax_frame_3').on('load',function(){var contents = jQuery(this).contents().find('*').html();var is_postback = contents.indexOf('GF_AJAX_POSTBACK') >= 0;if(!is_postback){return;}var form_content = jQuery(this).contents().find('#gform_wrapper_3');var is_confirmation = jQuery(this).contents().find('#gform_confirmation_wrapper_3').length > 0;var is_redirect = contents.indexOf('gformRedirect(){') >= 0;var is_form = form_content.length > 0 && ! is_redirect && ! is_confirmation;var mt = parseInt(jQuery('html').css('margin-top'), 10) + parseInt(jQuery('body').css('margin-top'), 10) + 100;if(is_form){jQuery('#gform_wrapper_3').html(form_content.html());if(form_content.hasClass('gform_validation_error')){jQuery('#gform_wrapper_3').addClass('gform_validation_error');} else {jQuery('#gform_wrapper_3').removeClass('gform_validation_error');}setTimeout( function() { \/* delay the scroll by 50 milliseconds to fix a bug in chrome *\/ jQuery(document).scrollTop(jQuery('#gform_wrapper_3').offset().top - mt); }, 50 );if(window['gformInitDatepicker']) {gformInitDatepicker();}if(window['gformInitPriceFields']) {gformInitPriceFields();}var current_page = jQuery('#gform_source_page_number_3').val();gformInitSpinner( 3, 'https:\/\/tuthost.ua\/wp-content\/plugins\/gravityforms\/images\/spinner.gif' );jQuery(document).trigger('gform_page_loaded', [3, current_page]);window['gf_submitting_3'] = false;}else if(!is_redirect){var confirmation_content = jQuery(this).contents().find('.GF_AJAX_POSTBACK').html();if(!confirmation_content){confirmation_content = contents;}setTimeout(function(){jQuery('#gform_wrapper_3').replaceWith(confirmation_content);jQuery(document).scrollTop(jQuery('#gf_3').offset().top - mt);jQuery(document).trigger('gform_confirmation_loaded', [3]);window['gf_submitting_3'] = false;}, 50);}else{jQuery('#gform_3').append(contents);if(window['gformRedirect']) {gformRedirect();}}jQuery(document).trigger('gform_post_render', [3, current_page]);} );} );<\/script><script type='text\/javascript'> jQuery(document).bind('gform_post_render', function(event, formId, currentPage){if(formId == 3) {} } );jQuery(document).bind('gform_post_conditional_logic', function(event, formId, fields, isInit){} );<\/script><script type='text\/javascript'> jQuery(document).ready(function(){jQuery(document).trigger('gform_post_render', [3, 1]) } ); <\/script>","protected":false},"excerpt":{"rendered":"<p>\u041d\u0430 \u0442\u0430\u0440\u0438\u0444\u043d\u0438\u0445 \u043f\u043b\u0430\u043d\u0430\u0445 \u0445\u043e\u0441\u0442\u0438\u043d\u0433\u0443 \u0434\u043b\u044f Wordpress \u0434\u043e\u0441\u0442\u0443\u043f\u043d\u0430 \u0437\u0440\u0443\u0447\u043d\u0430 \u0443\u0442\u0438\u043b\u0456\u0442\u0430 \u0434\u043b\u044f \u0448\u0432\u0438\u0434\u043a\u043e\u0457 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 Wordpress. \u0420\u043e\u0431\u043e\u0442\u0430 \u0437 \u043d\u0435\u044e \u0432\u0456\u0434\u0431\u0443\u0432\u0430\u0454\u0442\u044c\u0441\u044f \u0447\u0435\u0440\u0435\u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0438\u0439 \u0440\u044f\u0434\u043e\u043a, \u0430 \u0434\u043b\u044f \u043f\u0456\u0434\u043a\u043b\u044e\u0447\u0435\u043d\u043d\u044f \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u0430\u0454\u0442\u044c\u0441\u044f \u043f\u0440\u043e\u0442\u043e\u043a\u043e\u043b SSH. \u042f\u043a\u0449\u043e \u0443 \u0432\u0430\u0441 \u043d\u0435\u043c\u0430\u0454 \u0434\u043e\u0441\u0432\u0456\u0434\u0443 \u0440\u043e\u0431\u043e\u0442\u0438 \u0437 \u043a\u043e\u043c\u0430\u043d\u0434\u043d\u0438\u043c \u0440\u044f\u0434\u043a\u043e\u043c \u2013 \u043c\u0438 \u043d\u0435 \u0440\u0435\u043a\u043e\u043c\u0435\u043d\u0434\u0443\u0454\u043c\u043e \u0432\u0430\u043c \u0432\u0438\u043a\u043e\u0440\u0438\u0441\u0442\u043e\u0432\u0443\u0432\u0430\u0442\u0438 \u0446\u044e \u0443\u0442\u0438\u043b\u0456\u0442\u0443, \u0442\u043e\u043c\u0443 \u0449\u043e \u043d\u0435\u043f\u0440\u0430\u0432\u0438\u043b\u044c\u043d\u0438\u043c\u0438 \u0434\u0456\u044f\u043c\u0438 \u2013 \u043c\u043e\u0436\u043d\u0430 \u043f\u043e\u0448\u043a\u043e\u0434\u0438\u0442\u0438 \u0441\u0430\u0439\u0442. \u0423\u0442\u0438\u043b\u0456\u0442\u0430 WP-CLI \u0441\u0442\u0432\u043e\u0440\u0435\u043d\u0430,&#8230;<\/p>\n","protected":false},"author":1,"comment_status":"closed","ping_status":"closed","template":"","format":"standard","meta":{"inline_featured_image":false,"_kad_blocks_custom_css":"","_kad_blocks_head_custom_js":"","_kad_blocks_body_custom_js":"","_kad_blocks_footer_custom_js":"","ghostkit_customizer_options":"","ghostkit_custom_css":"","ghostkit_custom_js_head":"","ghostkit_custom_js_foot":"","ghostkit_typography":"","_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"ht-kb-category":[10698],"ht-kb-tag":[],"class_list":["post-37111","ht_kb","type-ht_kb","status-publish","format-standard","hentry","ht_kb_category-hosting-uk"],"taxonomy_info":{"ht_kb_category":[{"value":10698,"label":"\u0425\u043e\u0441\u0442\u0438\u043d\u0433"}]},"featured_image_src_large":[],"author_info":{"display_name":"\u0414\u0435\u043d\u0438\u0441 \u0421\u0435\u043c\u0435\u043d\u044e\u043a","author_link":"https:\/\/tuthost.ua\/uk\/author\/semden\/"},"comment_info":0,"_links":{"self":[{"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb\/37111","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb"}],"about":[{"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/types\/ht_kb"}],"author":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/comments?post=37111"}],"version-history":[{"count":4,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb\/37111\/revisions"}],"predecessor-version":[{"id":52501,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb\/37111\/revisions\/52501"}],"wp:attachment":[{"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/media?parent=37111"}],"wp:term":[{"taxonomy":"ht_kb_category","embeddable":true,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb-category?post=37111"},{"taxonomy":"ht_kb_tag","embeddable":true,"href":"https:\/\/tuthost.ua\/uk\/wp-json\/wp\/v2\/ht-kb-tag?post=37111"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}