Welcome to the BlueLayerMedia Web Development Blog

We don't just build blogs, we write them too. Take a look at what's going on and our senseless ramblings!

WordPress 500 Internal Server Error Image Upload – FIX

By: on Nov 23, 2011 | No Comments

Have you tried uploading an image and either have the file stick at 100% when using the Flash based uploader or get the nasty 500 Internal Server Error when using the standard uploader?  If so, we have the fix for you!

You may have found several posts about modifying your .htaccess file to fix this issue.  In most cases it is not an issue with .htaccess, rather an issue with your host.  Yes, I know, you’ve spent hours trying to fix this and it’s not even something you’re capable of fixing.

The typical cause and scenario is, your host recently upgraded the version of PHP they were on to a newer version and upon rebuilding Apache, the mod_fastcgi module had it’s Max Request Length significant reduced so that anything above the ridiculously new low limit creates the 500 Internal Server Error you see.

The fix is below.  If you don’t have direct access to your Apache configuration, contact your host and have them add the snippet below to your httpd.conf file.  That’s all it takes and you’ll again be able to upload images without any issues.  The only thing you may have to contend with is getting your hosting company to do that modification for you, which they should considering the amount of people that use WordPress.

If not, we offer our own low cost hosting at BlueLayerHost.  We’ll even move your site(s) for your for free and offer you a free month of hosting to try us out.  Just use this coupon when signing up: BLM-500

# Work around annoying fcgid limitations
<IfModule mod_fcgid.c>
# 20MB should be enough
MaxRequestLen 20000000
</IfModule>


Related Posts:
  1. How To: Remove The WordPress Admin Bar
  2. WordPress: Stuck In Maintenance Mode
  3. WordPress: Moving from WordPress.com to WordPress.org

Comments (0)

Post a Comment