Drupal 5.6 and 1and1 Hosting

After installing Drupal 5.6 on 1&1 and loading my new Drupal website in my browser, I received this error:

Incompatible environment

The following error must be resolved before you can continue the installation process:

register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings. (Currently using PHP 4.4.7)

I overcame the problem by adding the line, AddType x-mapp-php5 .php, to the .htaccess file in Drupal’s root directory. This trick applies to all sub-directories.

This information is extracted from a conversation here: CubeCart > Register Globals = on
and Register_Globals Off. Read these links for more info on why this works.

One Response to “Drupal 5.6 and 1and1 Hosting”

  1. thanks a lot!

Leave a Reply