# Increase maximum upload file size for all-in-one wp migration?

**URL:** <https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333>\
**Category:** Support\
**Created:** [January 31, 2023, 1:31am UTC](https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333 "2023-01-31T01:31:04Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rand](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@Rand](https://community.localwp.com/u/Rand)\
**Post date:** [January 31, 2023, 1:31am UTC](https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333/1 "2023-01-31T01:31:04Z")

</div>

I need to increase the limit past 300MB to restore a site. I searched and found this topic has been posted multiple times, but they were all closed and none of them has a solution.

I tried editing the wp-config.php and .htaccess files per the instructions from the plugin. It doesn’t change the 300 limit. I have triple checked, restarted sites, rebooted computer, but it still has the 300MB limit.

Why is this? Does localwp not honor custom wp-config.php entries? How do I restore a site using all-in-on wp migration running on localwp?

---

<div class="post-metadata">

**Author:** ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)\
**Post date:** [February 4, 2023, 3:46pm UTC](https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333/2 "2023-02-04T15:46:01Z")

</div>

Hi @Rand

Values like `upload_max_filesize` can be edited in the `php.ini.hbs` file within the site’s `conf/php/` folder. Just open that up in your preferred text editor, adjust the value and then after making any adjustments be sure to stop the site and re-start it so that Local can compile and use those new settings.

I just tested this on a site to reply to another thread this morning and it still worked fine 🙂

---

<div class="post-metadata">

**Author:** ![Rand](https://avatars.discourse-cdn.com/v4/letter/r/ebca7d/32.png) [@Rand](https://community.localwp.com/u/Rand)\
**Post date:** [February 4, 2023, 5:08pm UTC](https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333/3 "2023-02-04T17:08:00Z")

</div>

Thank you Nick-B! Worked perfectly. Much appreciated.

---

<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:** [February 6, 2023, 5:08am UTC](https://community.localwp.com/t/increase-maximum-upload-file-size-for-all-in-one-wp-migration/35333/4 "2023-02-06T05:08:29Z")

</div>

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