I’ve got a major organizational project underway, going through my archives and building new websites for old projects to migrate everything under the AirborneSurfer.com domain. As such, I started to build a new website for the old Afterburn podcast, but I couldn’t upload the 15MB MP3 files because of the silly 2MB WordPress max upload size.
I started by digging through the plugin “store”, trying a few “upload enhancer” plugins that only gave lip service to the larger upload size. To actually increase WordPress max upload size, you’ll need to do a little editing on the back end. Open a text editor and create a file named
php.ini, then add the following lines of code:
memory_limit = 100M
upload_max_filesize = xxM
post_max_size = xxM
file_uploads = On
xx denotes your desired file size in MB. 100 is a safe number in most cases, but note that your
max_post_size value must be larger than your
upload_max_filesize value otherwise you’ll have some heartache when you try to publish a post with one of those large files embedded in it! Save the file and upload it to your the
wp-admin folder in your WordPress directory. It couldn’t be much simpler.