{"id":9478,"date":"2026-06-03T04:52:43","date_gmt":"2026-06-03T02:52:43","guid":{"rendered":"https:\/\/mybox.com\/help\/?post_type=manual_kb&#038;p=9478"},"modified":"2026-06-08T09:34:21","modified_gmt":"2026-06-08T07:34:21","slug":"cum-se-mareste-dimensiunea-maxima-a-fisierelor-incarcate-in-wordpress","status":"publish","type":"manual_kb","link":"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/","title":{"rendered":"Cum s\u0103 m\u0103ri\u021bi dimensiunea maxim\u0103 a fi\u0219ierului de \u00eenc\u0103rcare \u00een WordPress"},"content":{"rendered":"<div class=\"translation-block translation-block-merged\">\n<p class=\"wp-block-paragraph\">WordPress limits the maximum size of files that can be uploaded through the administration panel. Depending on your website configuration, this limit may be too low for larger media files, themes, plugins, or backups.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can increase the upload limit by modifying the <code>.htaccess<\/code> file located in the root directory of your website.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_86 ez-toc-wrap-left counter-hierarchy ez-toc-counter ez-toc-custom ez-toc-container-direction\">\n<div class=\"ez-toc-title-container\">\n<p class=\"ez-toc-title\" style=\"cursor:inherit\">Table of Contents<\/p>\n<span class=\"ez-toc-title-toggle\"><\/span><\/div>\n<nav><ul class='ez-toc-list ez-toc-list-level-1' ><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-1\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/#Step_1_Open_the_htaccess_File\" >Step 1: Open the .htaccess File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/#Step_2_Add_the_Upload_Limit_Directive\" >Step 2: Add the Upload Limit Directive<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/#What_to_Expect\" >What to Expect<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/#How_to_Verify_the_New_Limit\" >How to Verify the New Limit<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/mybox.com\/help\/ro\/knowledgebase\/how-to-increase-the-maximum-upload-file-size-in-wordpress\/#Summary\" >Summary<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_1_Open_the_htaccess_File\"><\/span>Step 1: Open the .htaccess File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<\/div>\n\n<div id=\"mybox-3048522140\" class=\"mybox-content mybox-entity-placement\"><div class=\"early-access-banner-inpost\">\r\n  <div class=\"banner-left-inpost\">\r\n    <div class=\"icon-box-inpost\">\r\n      <img decoding=\"async\" src=\"https:\/\/mybox.com\/help\/wp-content\/uploads\/2026\/02\/square-info-icon.svg\" alt=\"Info\">\r\n    <\/div>\r\n    <div class=\"text-box-inpost\">\r\n      <span class=\"label-inpost\"><span class=\"translation-block translation-block-banner-text\">Acces timpuriu<\/span><\/span>\r\n      <h4><span class=\"translation-block translation-block-banner-text\">Mai ave\u021bi nevoie de ajutor?<\/span><\/h4>\r\n      <p><span class=\"translation-block translation-block-banner-text\">Contacta\u021bi echipa noastr\u0103 de servicii pentru clien\u021bi.<\/span><\/p>\r\n    <\/div>\r\n  <\/div>\r\n\r\n  <div class=\"banner-right-inpost\">\r\n    <a href=\"https:\/\/panel.mybox.com\/helpdesk2\/v\/list\/\" class=\"banner-button-inpost\"><span class=\"translation-block translation-block-banner-text\">Trimite mesaj<\/span><\/a>\r\n  <\/div>\r\n<\/div><\/div>\n\n<div class=\"translation-block translation-block-merged\"><p class=\"wp-block-paragraph\">Locate the <code>.htaccess<\/code> file in the main directory of your WordPress installation. In most cases, this is the <code>public_html<\/code> directory.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">If the file is hidden, make sure your FTP client is configured to display hidden files.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Step_2_Add_the_Upload_Limit_Directive\"><\/span>Step 2: Add the Upload Limit Directive<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Add the following line to the <code>.htaccess<\/code> file:<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>php_value upload_max_filesize 2048M\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">This example increases the maximum upload file size to <strong>2 GB<\/strong>.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Save the file after making the change.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"What_to_Expect\"><\/span>What to Expect<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Once the changes have been applied, WordPress should allow files up to the specified size to be uploaded through the administration panel.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">In some cases, the upload limit may also be restricted by other PHP settings, such as:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>post_max_size<\/code><\/li>\n\n\n\n<li><code>memory_limit<\/code><\/li>\n\n\n\n<li><code>max_execution_time<\/code><\/li>\n<\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">If the new limit is not reflected in WordPress after updating the <code>.htaccess<\/code> file, additional PHP configuration changes may be required.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Verify_the_New_Limit\"><\/span>How to Verify the New Limit<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To confirm the current upload limit:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>Log in to the WordPress administration panel.<\/li>\n\n\n\n<li>Navigate to <strong>Media \u2192 Add New<\/strong>.<\/li>\n\n\n\n<li>Check the maximum upload size displayed below the upload area.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Summary\"><\/span>Summary<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The maximum file size allowed in WordPress can be increased by editing the <code>.htaccess<\/code> file and adjusting the <code>upload_max_filesize<\/code> value. If the change does not take effect, other PHP configuration limits may also need to be updated.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><\/p>\n<\/div>","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"template":"","format":"standard","manualknowledgebasecat":[125],"manual_kb_tag":[718,5110,5377,5378,5379,5380,5381,5382,5383,5384],"class_list":["post-9478","manual_kb","type-manual_kb","status-publish","format-standard","hentry","manualknowledgebasecat-websites","manual_kb_tag-htaccess-file","manual_kb_tag-memory-limit","manual_kb_tag-wordpress-upload-limit","manual_kb_tag-increase-upload-size","manual_kb_tag-modify-htaccess","manual_kb_tag-upload-max-filesize","manual_kb_tag-maximum-upload-file-size","manual_kb_tag-media-upload-limit","manual_kb_tag-server-upload-limit","manual_kb_tag-post-max-size"],"_links":{"self":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9478","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/users\/1"}],"version-history":[{"count":2,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9478\/revisions"}],"predecessor-version":[{"id":9479,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb\/9478\/revisions\/9479"}],"wp:attachment":[{"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/media?parent=9478"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manualknowledgebasecat?post=9478"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/mybox.com\/help\/ro\/wp-json\/wp\/v2\/manual_kb_tag?post=9478"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}