I was working on adding some fancy media content for one of my customers, and WordPress gave me this error:
EPIC FAIL. This file is too big. The maximum upload size for your server is 2M.
Ok, I added the fail. It wasn’t WordPress!
Did some research and found this simple and easy solution to increase the limit that should work on a shared host as well:
- Login to your web server
- Find the root folder for wordpress (where all the good stuff is)
- Edit .htaccess file (or create one if it doesn’t exist)
- Add following lines to the file
php_value max_input_time 250 php_value max_execution_time 250 php_value upload_max_filesize 15M php_value post_max_size 15M
- Save the file
- This should allow you to post decent size files, and give you enough time for processing without server timing you out.
Let me know if this works for you!
No related posts.

Thanks! Worked perfectly :O)