How do I increase upload size limit

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

2 Likes

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

2 Likes

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!

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