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.
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.