How I stopped Error 500 messages on my blog

by Adam on February 4, 2009

As some of you may know, I’ve been plagued by ‘Internal Error 500′ messages when I’ve either tried to publish, or edit a post.  Sure, this has only been visable on my end, in the tranquil surroundings of the dashboard and any visitors to my blog here will not have noticed anything amiss.  Yet, it has been really annoying and frustrating.

After searching Google and the WordPress support forums I had an inkling that it might be something do do with my plugins.  It’s been hit and miss disabling various plugins.  But I had reached a point where I had disabled the most plugins I could.  The rest that I was left with were for various reasons, essential.  Enough was enough.

I stumbled on a potential problem that might have be unique in my case; the fact that my host is 1&1.  I’ve implemented a couple of solutions.  They both really deal with PHP.  I added the following lines to my .htaccess file:

AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php

I also created a php.ini file with notepad, and entered: “memory=20MB” (without the quotes)

The first solution was due to the server defaulting to PHP 4, even though WordPress was using PHP 5 (I think).  The second solution was that my host’s settings weren’t allocating enough memory for all of the plugins to run- thus screwing everything up.

Ok, so I haven’t explained things well at all, but if you have a similar problem to this, then hopefully this will help you.

3 comments

Hello!
Very Interesting post! Thank you for such interesting resource!
PS: Sorry for my bad english, I’v just started to learn this language ;)
See you!
Your, Raiul Baztepo

by RaiulBaztepo on March 28, 2009 at 11:14 pm. #

Hello !!!! ;)
I am Piter Kokoniz. Just want to tell, that your blog is really cool
And want to ask you: will you continue to post in this blog in future?
Sorry for my bad english:)
Thank you!
Your Piter Kokoniz, from Latvia

by PiterKokoniz on April 8, 2009 at 12:09 am. #

Thank you. Yes, I will continue to post content on this blog. Things have been quite hectic recently to things may slow down a bit, but yes, the posting will definitely continue! :)

by Los Havros on April 8, 2009 at 8:52 am. #