1and1 and Drupal
I like 1and1 as a web hosting service, but there are some annoyances when running Drupal. The latest problem I had were “error 500 - internal server error” returns and thanks to Gregory Tucker, I found this solution.
Adding this line of code to the .htaccess file:
AddType x-mapp-php5 .php
Another problem was a memory limitation via PHP, but 1and1 does allow you to include a php.ini file which did the trick:
Here is the code in my PHP.ini, which is placed in the same directory that Drupal runs.
register_globals=off
upload_max_filesize=20 M
max_execution_time=300
memory_limit=40 M
post_max_size=20 M
SMTP:localhost
