Maximum upload file size: 300 MB

Hi there, kook question.
I have set up Local on my laptop, i have gotten a wordpress instance up and running, now i need to import the demo site of the theme i bought.
When i try bring it in, (file size 440megs) i get a notification that its too large and the import is limited to Maximum upload file size: 300 MB.
I tried following the instructions provided and edited the wp-config.php file

@ini_set( ‘upload_max_filesize’ , ‘128M’ );
@ini_set( ‘post_max_size’, ‘128M’);
@ini_set( ‘memory_limit’, ‘256M’ );
@ini_set( ‘max_execution_time’, ‘300’ );
@ini_set( ‘max_input_time’, ‘300’ );

upload_max_filesize – set this to a value > than your backup - Set it to 500M
post_max_size – set this to a value > than your backup - Set it to 500M
memory_limit – set this to a value > than your backup - Set it to 500M
max_execution_time – set this to 0 (infinite)

Tested the changes by shutting down the site in local and then restarting it and launched a fresh instance of the WP backend. Again i tried to import the site backup and was told its too large max limit is 300.

So… what to do?

1 Like

Me to!! I guess this is not a priority for Local.

Hi @rungek and @MrMarqua

Left an answer on another thread here: Max upload file size - #2 by Nick-B

You should be able to edit these values, save, and then Stop/Start the site to see changes. If they still aren’t working their might be another issue at play.