web analytics

Geeks Terminal

          Linux | Open Source | Web Hosting and more..

If you are receiving

“Error 500 – Internal server error

An internal server error has occured!

Please try again later.”

or

“Error 500 – Internal server error

An internal server error has occurred!

Additionally page 404 not found”

1. Create a new file in notepad or similar editor and enter the following lines in the file
php_flag register_globals off
register_globals = 0
memory_limit = 64M
2. Once done with the above steps, save the file as php.ini and upload it to your /wp-admin/ directory of wordpress

This will effect in increasing of PHP memory limit as sometimes default limit set by the hosting service provider is very low.

Even if you are still receiving the above error

1. Edit .htaccess file in notepad or similar editor (if not present then create one)

2. Add these two lines in the file

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

after at the # END WORDPRESS

It is to make sure that your php files will run with php5.

.htacess is located in root directory of website or blog.

You can use FTP to access .htaccess file.

Also, be sure to take backup of .htaccess file because it may get changed if you try to install some plugins.

If any feedback, queries are always welcome!

The author is a Linux System Administrator and likes to blog.

Facebook Twitter LinkedIn Google+ 


Find helpful? Spread it!
Categories: WordPress

4 Responses so far.

  1. limewire says:

    fantastic

  2. Abby says:

    Perfect !

  3. John says:

    I coded in .htaccess file as you have given and my site started giving forbidden error. x-(

    • admin says:

      Dear John,

      Can you please provide the code present in the .htaccess to check ?
      Probably some rules are conflicting.