500 Internal Server Error on WordPress and 1&1 Hosting
by admin on Friday, January 6th, 2012 | No Comments
I just experience the 500 internal server error in WordPress. When opening some of the plugin setting pages the server responded with a “500 Internal Server Error”. This happens randomly when clicking on links in the admin panel. The problem turns out to be PHP running out of memory.
If you are running your own root, dedicated or virtual server this is an easy bugfix by changing the php.ini of your server and provide more memory to your PHP installation. However, on a shared hosting server – like my hosting at 1&1 you often don’t have access to that central php.ini. Lucky for you, there is a workaround.
Create a text file and name it “php.ini” and with a single line of code in it:
memory=20MB
Upload this file (php.ini) into the directory /wp-admin/ within your WordPress installation. What an easy fix that was.