How to Change your WordPress Media Upload Limit

Do you use WordPress on your own installed domain and hosting? If so you have plenty of options for customizing the system, and changing the media upload limit is one of those.

By default most custom hosted WordPress installations have an 8MB file upload limit. Nowadays it doesn’t take much to hit that limit. I think I recently downloaded a 320kbps MP3 that was larger than that! So if you do need to upload a file larger than the limit, you either have to SSH/FTP into your server and upload it manually, or just apply this fix below to increase the WordPress limit.


First, connect to your server with an FTP program and browse to your wp-admin folder. Open the file php.ini in a text editor.

If you don’t have the php.ini file you can download it here (right-click > Save As) and upload it to your wordpress/wp-admin/ directory.


On line 373 you should see post_max_size = ##M


on line 486 upload_max_filesize = ##M

The M stands for file size in megabytes, so all you have to do is change these two numbers to the new size you would like to allow uploads of. 


That’s all!  Now you can upload larger files to your custom WordPress installation.

1 Comment

1 Comment

  1. James David

    April 10, 2019 at 11:58 pm

    Thanks for the suggestions.

Leave a Reply

Your email address will not be published. Required fields are marked *


To Top