WordPress Internal Server Error 500 with 1and1 WebHosting
Problem: After updating the blog to WP 2.9 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” . After a while I found out I can’t even login to my admin panel.
Diagnosis: PHP is running out of memory.
Solution: If you are running your own root, dedicated or virtual server this is an easy bugfix: 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 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” (without the quotes) and with a single line of code in it:
memory=20MB
|
This file has to be placed into the directory /wp-admin/ within your WordPress installation.
That’s it!
Thanks Christian this saved one of my blogs.






I’m not in the business of shared web hosting and web site design, however the folks here cleared all my questions rapidly and appeared ready to guide. Also, working with a Western Shoreline as well as an East Coastline place of work helps with time differential. It enables acquiring queries responded soon after 5pm ET doable.it’s absolutely no brainer but it’s sure extremely affordable web hosting.
I’m not in the business of shared web hosting and web site design, however the folks here cleared all my questions rapidly and appeared ready to guide. Also, working with a Western Shoreline as well as an East Coastline place of work helps with time differential. It enables acquiring queries responded soon after 5pm ET doable.it’s absolutely no brainer but it’s sure extremely affordable web hosting.
Thanks. I just moved a client’s website to 1and1 and had this problem. As soon as I uploaded the php.ini file it worked like a charm.
No problem James, glad we could help. 1and1 can be a little tricky sometimes, but there’s always a way.
Your solution did not work for me, but I found this and it did (for others who are still looking…):
In .htaccess in site root, place:
Options All -Indexes
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
This is a great solution I found it on another site first tried it and worked. I was curious about why this worked and also came across your explanation. Good stuff.
Thanks, glad you found this useful.
As much as I want this to work, I believe this solution only fixes the
problem coincidentally. I can’t prove it, but I think both the solution
of upping memory limit in php.ini and the solution of adding a handler
for PHP5 in .htaccess are non-starters. I do know that I have BOTH solutions
in place and my sites still get the 500 error quite often.
Interesting. It seems for some people doesn’t work. If you do find a solution please share it with our readers.
Cheers Andy
Glad it helped you Allen. Cheers
Thanks. This solved my client’s problem. I like 1and1 for domain name registration (though not as much since they’ve raised their prices yet again), but hate them for WordPress. Normally I refuse to work on WP sites hosted with them, but this client came as part of a package.
Hey, no problem Valerie, glad you solved the problem. Yeah, 1and1 are pretty cool for domain registration, been using them for 3 years now. But when it comes to hosting they have much to learn from other hosting companies like hostgator or bluehost.