How to fix – Error 500 – Internal server error

February 16, 2009 by
Filed under: FIX-IT, HOW TO 

logo

 

 

Error 500 – Internal server error

If your in the unfortunate position of receiving a

“Error 500 – Internal server error

An internal server error has occured!

Please try again later.”

This seams to happen regularly on a lot of servers when ever you  increase the amount of plug-ins you activate in your WordPress blog .

If so, then hopefully this will help!

logo

A lot of my subscribers have had this very problem and asked me if i had a fix. It seamed that a lot of them who where having this problem where hosting their wordpress  blog with 1&1, and the problem seamed to start after updgrading to versio 2.7 of wordpress.

After a few hours of investigations, I have found an answer that seams to help anyone with an 1&1 account, but the solution should also be tried if using another Hosting Provider.

  1. Firstly create a new file in notepad or similar  and enter the following:php_flag register_globals off
    register_globals = 0
    memory_limit = 64M
  2. Save this file as php.ini and upload it to your /wp-admin/ directory of wordpress

That’s it, simple wasn’t it ?

Apparently this has to do with some host servers generally limiting the php access to under 8MB, which is clearly not enough if you are  installing a lot of plugins at once.

Also, if this  doesn’t work for you, you could try editing  or create an .htaccess if one is not already present.  This will make sure that your php files will run with php5, this can be true if Apache by default is running an earlier version of php.

Just put the following lines in the file on its own lines:

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

The .htaccess file is usually to be found in the root directory of your wordpress blog or website, and is simply a text file that can be edited with Notepad or similar, but  do ensure you save it as .htaccess and not a .txt file.

NOTE: If you already have an .htaccess, then just edit this file, DO NOT over write  it, as the contents may be required for other usage, if you dont have one then just create a new one.

(do remember to put the dot before the htaccess when naming the file)

Hope this fixes your problem!

 

I have other Fixes for common windows XP problems – click here

     

    Last 5 Posts by Lee Jones


    Fatal error: Call to undefined function c2c_get_recent_posts() in /home2/leejones/public_html/lee-jones-com/blog/wp-content/themes/code-blue_20/single.php on line 28