# Updating Maximum File Upload Size (post\_max\_size)

**URL:** <https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326>\
**Category:** Application Support\
**Created:** [February 5, 2021, 6:19am UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326 "2021-02-05T06:19:55Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![avalanche\_designs](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/avalanche_designs/32/253_2.png) [@avalanche\_designs](https://community.kinsta.com/u/avalanche_designs)\
**Post date:** [February 5, 2021, 6:19am UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/1 "2021-02-05T06:19:55Z")

</div>

How do I Increase the maximum upload file size? I’m trying to upload to WordPress and it states that the maximum size is 128MB.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [February 5, 2021, 4:09pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/2 "2021-02-05T16:09:07Z")

</div>

Hi @avalanche_designs . Thanks for reaching out and welcome to DevKinsta. 🙂  
Are you uploading a file that’s larger than 128MB into your Media Library on WordPress? If so, the upload does need to be increased on PHP. I’m happy to provide guidance on how to increase that. Could you tell me if you’re on Windows or Mac?

---

<div class="post-metadata">

**Author:** ![hi5work\_Agency](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hi5work_agency/32/254_2.png) [@hi5work\_Agency](https://community.kinsta.com/u/hi5work_Agency)\
**Post date:** [February 5, 2021, 5:46pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/3 "2021-02-05T17:46:31Z")

</div>

I am attempting to import a site using all-in-one migration with a size of 250MB. Please provide guidance on increasing the upload size.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [February 5, 2021, 5:54pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/4 "2021-02-05T17:54:13Z")

</div>

Happy to help! We’ll look into adding this into our documentation as well. Check out these posts and let me know if they help:

- [Adminer : how to increase the 'post\_max\_size in the Php confi? - #4 by michael](https://community.kinsta.com/t/adminer-how-to-increase-the-post-max-size-in-the-php-confi/266/4)
- [Oxygen Builder - Fatal Error Out of Memory - #2 by michael](https://community.kinsta.com/t/oxygen-builder-fatal-error-out-of-memory/243/2)
- [Php configuration - #2 by michael](https://community.kinsta.com/t/php-configuration/236/2)

In the posts above, they have require that the php.ini file is edited to increase the upload size.

---

<div class="post-metadata">

**Author:** ![hi5work\_Agency](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hi5work_agency/32/254_2.png) [@hi5work\_Agency](https://community.kinsta.com/u/hi5work_Agency)\
**Post date:** [February 5, 2021, 6:13pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/5 "2021-02-05T18:13:49Z")

</div>

I am on a Windows machine. I can use Command line to get to the file but not sure how to proceed from there.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [February 5, 2021, 8:26pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/6 "2021-02-05T20:26:36Z")

</div>

Hi @hi5work_Agency - are you able to edit the file? The line you’re looking for has `post_max_size`.

---

<div class="post-metadata">

**Author:** ![hi5work\_Agency](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/hi5work_agency/32/254_2.png) [@hi5work\_Agency](https://community.kinsta.com/u/hi5work_Agency)\
**Post date:** [February 5, 2021, 9:35pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/7 "2021-02-05T21:35:39Z")

</div>

No. I am using the Windows command prompt and not sure how to open the php.ini file from there to edit?

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [March 3, 2021, 4:57pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/8 "2021-03-03T16:57:59Z")

</div>

Hi @hi5work_Agency . I’m very sorry for missing your message. Were you able to find the php.ini file? We hope to make it easier to update this value in a future update. [Please let us know if you’re still having issues in a new thread](https://community.kinsta.com/c/application-support/8) and we’d be happy to provide further instructions on this.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [March 3, 2021, 4:58pm UTC](https://community.kinsta.com/t/updating-maximum-file-upload-size-post-max-size/326/9 "2021-03-03T16:58:03Z")

</div>


