Increase WordPress max file upload size

Fix WordPress upload_max_filesize problem

I’ll keep this short. All the top Google results didn’t work, even the nasty ones that involved adding lines to wp-config and my theme’s functions.php, nothing. File upload limit was suck on 2MB (tiny!!).

Solution!: add a new php.ini inside the wp-admin folder. (Not the WordPress installation root)

Chuck these lines into your new php.ini file:

upload_max_filesize = 10M
post_max_size = 10M

That’s it. Reload your dashboard and the limit should be increased.

Worked for me when nothing else did, maybe it’ll work for you. If nothing else I’ll refer back to this next time it happens.

Good luck!

// Matt

Leave a Reply

Your email address will not be published.