{"id":10160,"date":"2025-12-26T05:04:27","date_gmt":"2025-12-26T05:04:27","guid":{"rendered":"https:\/\/ubiq.co\/tech-blog\/?p=10160"},"modified":"2025-12-31T04:48:49","modified_gmt":"2025-12-31T04:48:49","slug":"increase-file-upload-size-apache","status":"publish","type":"post","link":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/","title":{"rendered":"How to Increase File Upload Size in Apache"},"content":{"rendered":"\n<p>Today&#8217;s websites and blogs need to allow users to upload various kinds of files such as images, videos and more. These files can be quite big in size. By default, Apache server allows you to upload up to 2Mb file size. For bigger files, it simply returns an error without uploading anything. In such cases, you will need to increase file upload size in Apache server. In this article, we will learn how to do this.<\/p>\n\n\n\n<div id=\"ez-toc-container\" class=\"ez-toc-v2_0_82_2 counter-hierarchy ez-toc-counter ez-toc-grey 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\"><a href=\"#\" class=\"ez-toc-pull-right ez-toc-btn ez-toc-btn-xs ez-toc-btn-default ez-toc-toggle\" aria-label=\"Toggle Table of Content\"><span class=\"ez-toc-js-icon-con\"><span class=\"\"><span class=\"eztoc-hide\" style=\"display:none;\">Toggle<\/span><span class=\"ez-toc-icon-toggle-span\"><svg style=\"fill: #999;color:#999\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" class=\"list-377408\" width=\"20px\" height=\"20px\" viewBox=\"0 0 24 24\" fill=\"none\"><path d=\"M6 6H4v2h2V6zm14 0H8v2h12V6zM4 11h2v2H4v-2zm16 0H8v2h12v-2zM4 16h2v2H4v-2zm16 0H8v2h12v-2z\" fill=\"currentColor\"><\/path><\/svg><svg style=\"fill: #999;color:#999\" class=\"arrow-unsorted-368013\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"10px\" height=\"10px\" viewBox=\"0 0 24 24\" version=\"1.2\" baseProfile=\"tiny\"><path d=\"M18.2 9.3l-6.2-6.3-6.2 6.3c-.2.2-.3.4-.3.7s.1.5.3.7c.2.2.4.3.7.3h11c.3 0 .5-.1.7-.3.2-.2.3-.5.3-.7s-.1-.5-.3-.7zM5.8 14.7l6.2 6.3 6.2-6.3c.2-.2.3-.5.3-.7s-.1-.5-.3-.7c-.2-.2-.4-.3-.7-.3h-11c-.3 0-.5.1-.7.3-.2.2-.3.5-.3.7s.1.5.3.7z\"\/><\/svg><\/span><\/span><\/span><\/a><\/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:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#Why_Increase_File_Upload_Size\" >Why Increase File Upload Size<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-2\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#How_to_Increase_File_Upload_Size_in_Apache_Server\" >How to Increase File Upload Size in Apache Server<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-3\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#1_Apache_Configuration\" >1. Apache Configuration<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-4\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#2_Using_phpini\" >2. Using php.ini<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-5\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#3_Using_htaccess_File\" >3. Using .htaccess File<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-6\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#Key_Considerations\" >Key Considerations<\/a><\/li><li class='ez-toc-page-1 ez-toc-heading-level-2'><a class=\"ez-toc-link ez-toc-heading-7\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#Conclusion\" >Conclusion<\/a><\/li><\/ul><\/nav><\/div>\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Why_Increase_File_Upload_Size\"><\/span>Why Increase File Upload Size<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are some of the most common reasons to increase file upload size in Apache server.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>User requirement<\/strong> &#8211; These days, people expect sites and apps to accept large file uploads like high resolution images, videos, large documents, etc. If you do not accommodate them, then people will stop using your service. So you need to provide such a web interface for this purpose.<\/li>\n\n\n\n<li><strong>User experience<\/strong> &#8211; By default, Apache allows upload of only 2Mb. This is too low a limit. As a result, users often get &#8216;file too large&#8217; error message. It spoils their user experience and stops them from using your site any further. So it is important to increase this limit, at least to some extent.<\/li>\n\n\n\n<li><strong>Application Requirement<\/strong> &#8211; These days, ecommerce sites, social media tools, video editing sites, project management tools, and even document processing sites need to be able to handle large files. Sometimes, these files are in the form of plugins and updates and not user uploads.<\/li>\n<\/ol>\n\n\n\n<p>Once you have ascertained the upload requirements of your site or service, it is important to increase the limit as per your requirement.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"How_to_Increase_File_Upload_Size_in_Apache_Server\"><\/span>How to Increase File Upload Size in Apache Server<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>There are several ways to increase max upload file size in Apache server. Let us look at them one by one.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"1_Apache_Configuration\"><\/span>1. Apache Configuration<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this solution, we will modify Apache configuration file and add directives related to max upload file size. If you do not have access to Apache configuration file, you can skip to the next solution. <\/p>\n\n\n\n<p>Open Apache configuration in a text editor.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo vi \/etc\/httpd\/httpd.conf<br>OR<br>sudo vi \/etc\/apache2\/apache2.conf<\/pre>\n\n\n\n<p>Add or modify the <em>LimitRequestBody<\/em> directive to set max file upload size to 64Mb.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">LimitRequestBody 67108864<\/pre>\n\n\n\n<p>We have set it to slightly more than 64 Mb to accommodate request headers.<\/p>\n\n\n\n<p>Save and close the file. Restart Apache server to apply changes.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart apache2 #ubuntu\/debian<br>OR<br>sudo systemctl restart httpd #rhel\/centos<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"2_Using_phpini\"><\/span>2. Using php.ini<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you do not have access to Apache configuration file, then open PHP configuration file, <a href=\"https:\/\/www.php.net\/manual\/en\/configuration.file.php\">php.ini<\/a> in text editor. Location of php.ini varies according to the Operating system as well as PHP version.<\/p>\n\n\n\n<p>To determine the location of php.ini file, create an php file with the following content.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">&lt;?php phpinfo(); ?&gt;<\/pre>\n\n\n\n<p>Save and close the file. Open the file via its URL in web browser. It will display a table of PHP configuration variables. Look for the value of &#8216;Loaded Configuration File&#8217; entry.<\/p>\n\n\n\n<p>Then open the php.ini file in text editor. Modify the following PHP directives to set max file upload size to 64Mb.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">upload_max_filesize = 64M<br>post_max_size = 64M<br>memory_limit = 256M<br>max_execution_time = 300<br>max_input_time = 300<\/pre>\n\n\n\n<p>Save and close the file. Let us look at the above directives in detail. upload_max_filesize specifies the max file upload size. post_max_size specifies the maximum size of request body, including file as well as request headers. So it should be greater than or equal to upload_max_filesize value. Memory_limit specifies the max amount of memory to be allocated for file processing. max_execution_time and max_input_time are the timeout values to be specified to avoid time outs in case of large file uploads.<\/p>\n\n\n\n<p>Restart Apache server to apply changes.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart apache2 #ubuntu\/debian<br>OR<br>sudo systemctl restart httpd #rhel\/centos<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"3_Using_htaccess_File\"><\/span>3. Using .htaccess File<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>If you do not have access to Apache configuration file or php.ini file, then you can add or modify the following headers in .htaccess file. Please ensure you have enabled mod_rewrite for this method.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">php_value upload_max_filesize = 64M<br>php_value post_max_size = 64M<br>php_value memory_limit = 256M<br>php_value max_execution_time = 300<br>php_value max_input_time = 300<\/pre>\n\n\n\n<p>Save and close the file. These are the same directives that we set in the previous solution using php.ini file. You can refer to their meaning there.<\/p>\n\n\n\n<p>This is a very powerful method due to several reasons. First, it works even if you do not have access to Apache configuration file or php.ini file. Second, depending on location of .htaccess file, you can use it to increase file upload limit for specific directory.<\/p>\n\n\n\n<p>Restart Apache server to apply changes.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">sudo systemctl restart apache2 #ubuntu\/debian<br>OR<br>sudo systemctl restart httpd #rhel\/centos<\/pre>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Key_Considerations\"><\/span>Key Considerations<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>Here are several points to keep in mind while increasing file upload limit:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><strong>Upstream updates<\/strong> &#8211; Generally, Apache server is used to run PHP based applications, blogs and websites. Please note, both Apache as well as PHP have specific file upload limits built into them. If you have increased the file upload size limit in Apache, you need to also make similar update in upstream PHP installation, by modifying php.ini config file. Otherwise, although Apache may accept bigger file uploads, they will be rejected by upstream PHP.<\/li>\n\n\n\n<li><strong>Server Resources<\/strong> &#8211; Uploading larger files requires more processing power and memory. So if you increase this limit, you will see an increase in memory consumption and CPU usage. Make sure your memory and CPU can handle it. Otherwise, your site will crash. So be careful when you increase this limit. If you set it to a very high value, then other processes on your server may struggle for resources.<\/li>\n\n\n\n<li><strong>Increase Timeouts<\/strong> &#8211; Large files take a long time to upload. Meanwhile, you may get a request timeout error. To prevent this, you may need to increase request timeout values in Apache.<\/li>\n\n\n\n<li><strong>Chunked Uploads<\/strong> &#8211; If you find that even after increasing file upload limit, your server is unable to process large files, then consider using chunked uploads whereby you split the large file into smaller chunks and upload the chunks one by one.<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\"><span class=\"ez-toc-section\" id=\"Conclusion\"><\/span>Conclusion<span class=\"ez-toc-section-end\"><\/span><\/h2>\n\n\n\n<p>In this article, we have learnt why you may need to increase max upload file limit. We have also learnt a couple of simple ways to increase file upload size in Apache server. You can use any of these solutions as per your requirement.<\/p>\n\n\n\n<p>Also read:<br><a href=\"https:\/\/ubiq.co\/tech-blog\/disable-apache-cache\/\">How to Disable Cache in Apache Server<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/apache-restrict-access-by-ip\/\">How to Restrict Access By IP in Apache Server<\/a><br><a href=\"https:\/\/ubiq.co\/tech-blog\/upgrade-apache-version-ubuntu\/\">How to Upgrade Apache Version in Ubuntu<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.<\/p>\n","protected":false},"author":1,"featured_media":10198,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[3],"tags":[94],"class_list":["post-10160","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","tag-file-upload-size"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to Increase File Upload Size in Apache - Ubiq BI<\/title>\n<meta name=\"description\" content=\"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Increase File Upload Size in Apache - Ubiq BI\" \/>\n<meta property=\"og:description\" content=\"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/\" \/>\n<meta property=\"og:site_name\" content=\"Ubiq BI\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/ubiqbi\" \/>\n<meta property=\"article:published_time\" content=\"2025-12-26T05:04:27+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-12-31T04:48:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"301\" \/>\n\t<meta property=\"og:image:height\" content=\"201\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Sreeram Sreenivasan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:site\" content=\"@UbiqBI\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Sreeram Sreenivasan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/\"},\"author\":{\"name\":\"Sreeram Sreenivasan\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"headline\":\"How to Increase File Upload Size in Apache\",\"datePublished\":\"2025-12-26T05:04:27+00:00\",\"dateModified\":\"2025-12-31T04:48:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/\"},\"wordCount\":1016,\"commentCount\":0,\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1\",\"keywords\":[\"file upload size\"],\"articleSection\":[\"Apache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/\",\"name\":\"How to Increase File Upload Size in Apache - Ubiq BI\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1\",\"datePublished\":\"2025-12-26T05:04:27+00:00\",\"dateModified\":\"2025-12-31T04:48:49+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\"},\"description\":\"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#primaryimage\",\"url\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1\",\"contentUrl\":\"https:\\\/\\\/i0.wp.com\\\/ubiq.co\\\/tech-blog\\\/wp-content\\\/uploads\\\/2025\\\/12\\\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1\",\"width\":301,\"height\":201,\"caption\":\"increase file upload size in apache\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/increase-file-upload-size-apache\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Increase File Upload Size in Apache\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#website\",\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/\",\"name\":\"Ubiq BI\",\"description\":\"Build dashboards &amp; reports in minutes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/#\\\/schema\\\/person\\\/db98d49a766a3a111d8510935ab90abc\",\"name\":\"Sreeram Sreenivasan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g\",\"caption\":\"Sreeram Sreenivasan\"},\"description\":\"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.\",\"sameAs\":[\"https:\\\/\\\/www.linkedin.com\\\/in\\\/sreeram-sreenivasan\\\/\"],\"url\":\"https:\\\/\\\/ubiq.co\\\/tech-blog\\\/author\\\/wordpress\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Increase File Upload Size in Apache - Ubiq BI","description":"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/","og_locale":"en_US","og_type":"article","og_title":"How to Increase File Upload Size in Apache - Ubiq BI","og_description":"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.","og_url":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/","og_site_name":"Ubiq BI","article_publisher":"https:\/\/www.facebook.com\/ubiqbi","article_published_time":"2025-12-26T05:04:27+00:00","article_modified_time":"2025-12-31T04:48:49+00:00","og_image":[{"width":301,"height":201,"url":"https:\/\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg","type":"image\/jpeg"}],"author":"Sreeram Sreenivasan","twitter_card":"summary_large_image","twitter_creator":"@UbiqBI","twitter_site":"@UbiqBI","twitter_misc":{"Written by":"Sreeram Sreenivasan","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#article","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/"},"author":{"name":"Sreeram Sreenivasan","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"headline":"How to Increase File Upload Size in Apache","datePublished":"2025-12-26T05:04:27+00:00","dateModified":"2025-12-31T04:48:49+00:00","mainEntityOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/"},"wordCount":1016,"commentCount":0,"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1","keywords":["file upload size"],"articleSection":["Apache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/","url":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/","name":"How to Increase File Upload Size in Apache - Ubiq BI","isPartOf":{"@id":"https:\/\/ubiq.co\/tech-blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#primaryimage"},"image":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#primaryimage"},"thumbnailUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1","datePublished":"2025-12-26T05:04:27+00:00","dateModified":"2025-12-31T04:48:49+00:00","author":{"@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc"},"description":"Sometimes you may need to increase file upload size in Apache Server. Here is how to do this.","breadcrumb":{"@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#primaryimage","url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1","contentUrl":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1","width":301,"height":201,"caption":"increase file upload size in apache"},{"@type":"BreadcrumbList","@id":"https:\/\/ubiq.co\/tech-blog\/increase-file-upload-size-apache\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/ubiq.co\/tech-blog\/"},{"@type":"ListItem","position":2,"name":"How to Increase File Upload Size in Apache"}]},{"@type":"WebSite","@id":"https:\/\/ubiq.co\/tech-blog\/#website","url":"https:\/\/ubiq.co\/tech-blog\/","name":"Ubiq BI","description":"Build dashboards &amp; reports in minutes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/ubiq.co\/tech-blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/ubiq.co\/tech-blog\/#\/schema\/person\/db98d49a766a3a111d8510935ab90abc","name":"Sreeram Sreenivasan","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4b3127ed2d4bb8efb3fa0bbb52cf2efd4d0156c97fc05a503537c883e8279947?s=96&d=mm&r=g","caption":"Sreeram Sreenivasan"},"description":"Sreeram Sreenivasan is the Founder of Ubiq. He has helped many Fortune 500 companies in the areas of BI &amp; software development.","sameAs":["https:\/\/www.linkedin.com\/in\/sreeram-sreenivasan\/"],"url":"https:\/\/ubiq.co\/tech-blog\/author\/wordpress\/"}]}},"jetpack_featured_media_url":"https:\/\/i0.wp.com\/ubiq.co\/tech-blog\/wp-content\/uploads\/2025\/12\/increase-file-upload-size-in-apache.jpg?fit=301%2C201&ssl=1","jetpack_shortlink":"https:\/\/wp.me\/pbGGTT-2DS","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/10160","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/comments?post=10160"}],"version-history":[{"count":18,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/10160\/revisions"}],"predecessor-version":[{"id":10179,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/posts\/10160\/revisions\/10179"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media\/10198"}],"wp:attachment":[{"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/media?parent=10160"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/categories?post=10160"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ubiq.co\/tech-blog\/wp-json\/wp\/v2\/tags?post=10160"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}