# How do I increase upload size limit

**URL:** <https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250>\
**Category:** WordPress Questions\
**Tags:** php-configuration\
**Created:** [September 26, 2020, 10:47pm UTC](https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250 "2020-09-26T22:47:15Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cerebralvision](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cerebralvision](https://community.localwp.com/u/cerebralvision)\
**Post date:** [September 26, 2020, 10:47pm UTC](https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250/1 "2020-09-26T22:47:15Z")

</div>

Hey there, I’m new to LocalWP. I’m trying to use All-in-One WP Migration to import a wordpress backup. For some reason, it’s showing I have a 300 MB upload limit. How do I increase that?

Thanks!

**Overview:**  
Apache  
PHP Version 7.3.5  
MySQL 8.0.16  
Wordpress Version 5.5.1

**Operating System:**  
MacOS Catalina 10.15.6

---

<div class="post-metadata">

**Author:** ![cerebralvision](https://avatars.discourse-cdn.com/v4/letter/c/eb9ed0/32.png) [@cerebralvision](https://community.localwp.com/u/cerebralvision)\
**Post date:** [September 27, 2020, 1:54pm UTC](https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250/2 "2020-09-27T13:54:48Z")

</div>

I figured it out! Posting it here in case it helps someone else.

Navigate to the conf / php / php.ini.hbs

update lines to the value you need:  
post\_max\_size = 1000M  
upload\_max\_filesize = 1000M

I also upped the “memory\_limit” to 512M

---

<div class="post-metadata">

**Author:** ![ben.turner](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/ben.turner/32/5366_2.png) [@ben.turner](https://community.localwp.com/u/ben.turner)\
**Post date:** [September 28, 2020, 4:59pm UTC](https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250/3 "2020-09-28T16:59:51Z")

</div>

Nice!

The only thing I’ll add is that in order for those changes to show up in the site, you’ll need to stop the site and then start it again so that Local can compile those changes into the running processes!

---

<div class="post-metadata">

**Author:** ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)\
**Post date:** [September 30, 2020, 4:59am UTC](https://community.localwp.com/t/how-do-i-increase-upload-size-limit/22250/4 "2020-09-30T04:59:55Z")

</div>

This topic was automatically closed 36 hours after the last reply. New replies are no longer allowed.
