How to Increase Maximum Upload File Size in WordPress

While trying to list downloadable files in WordPress, I realized that the maximum upload file size was set at 8MB and my MP4 was 13MB in size. To fix this, I created a php.ini file in my wp-admin directory and added the following values:

upload_max_filesize = 32M
post_max_size = 32M

I recommend changing 32M to a value that is large enough to accommodate your uploads.

Note that some servers cache these files while others only recognizes php5.ini files. Which is why I recommend waiting at least 15 to 20 minutes for the changes to take effect after creating the php.ini file and if nothing happens, try renaming the file to php5.ini.

To see whether the size has changed, simply go to your ‘your WordPress admin panel > media > add new’ and look at the value that is displayed next to “Maximum upload file size”. You can see how I did all this in the video below:

Can’t view the video? Watch it on YouTube