Increase maximum file upload size in WordPress
I’ve tried many methods to increase the max filesize but this is the only one that works for me:
- Create a file called php.ini in your /wp-admin folder (or open it if already exists)
- Add these lines:
upload_max_filesize = 64M post_max_size = 64M
Here you can set your maximum file upload size (in the above example the limit is set to 64MB).