WordPress Error 500 – Internal server error – How to Fix

WordPress Error 500 – Internal server error – How to Fix

WordPress Error 500 – Internal server error – How to Fix

Problem: After updating the blog to WP 2.7 everything was running smooth. But when opening some of the plugin setting pages the server responded with a “500 Internal Server Error” – especially when using plugins like “XML Sitemap Generator for WordPress” or when uploading pictures or attempting to update a plugin.  Just this morning I suddenly couldn’t log into my admin section for this blog.  So what was the problem?

Diagnosis: PHP is running out of memory.

Solution: If you are running your own root, dedicated or virtual server this is easy to fix: You just have to change the php.ini of your server and provide more memory to your PHP installation. On a shared hosting server – like at the webhosting solutions at 1and1, which I have, you often don’t have access to that central php.ini. But there is an easy workaround:

Create a text file and name it “php.ini”  and write a single line of code in it:

memory=20MB

This file has to be placed into the directory /wp-admin/ within your WordPress installation.

When I did this, it INSTANTLY fixed my problem.


About the Author


I am a professional dating coach. I love traveling the world and helping men find a better life.

Leave a Reply