WordPress uploads fail. max_upload_filesize set correctly but still fails

Question:

My WordPress blog fails on uploads over a certain size. I’m made sure that php’s max_upload_filesize is set correctly in my php.ini. Why do the uploads still fail.

Answer:

Make sure that post_max_size is also set to be at or above the size file you want to upload. If not, your wordpress uploads will fail. You can set this in your etc/php.ini file. The change takes effect immediately as soon as you save and/or upload the new php.ini file.