register_globals is enabled
fuzi - February 1, 2008 - 23:12
I got this when I install 6.0 on 1and1.com
Requirements problem
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 register globals Enabled ('1'))
Please check the error messages and try again.
I just wondering how to let it goes to next step by change the code.
I just want to do some test
Regards
fuzi

Try uploading a custom php.ini
fuzi,
I had a similar problem. I created a text file called "php.ini" with the code below and added that to the root of my Drupal installation. That fixed it for me.
[PHP]register_globals = Off
Thank you! It is
Thank you! It is working.
But 1and1.com mysql version is too low.
I have to wait until they upgrade the mysql.
I also need install SugarCMS and Wiki, all due to database version too low and have to use other isp.
fuzi
Does this workaround make it safe?
Thanks, derek.b
Does this workaround make the database safe, or just trick Drupal into thinking it can do the install?
register_globals doesn't
register_globals doesn't directly affect your database, and it doesn't really matter how/where it is turned off as long as it is in fact off.
Turning it off makes PHP code safer and lessens the likelihood of someone exploiting a bug or hole somewhere.
It doesn't "trick" Drupal, the php.ini file actually turns it off.
Awesome
Awesome. This worked for me. But now I got another issue:
Fatal error: Cannot redeclare color_requirements() (previously declared in /beta/modules/color/color.install:4) in /beta/sites/all/modules/color/color.install on line 35
Totally stumped at this point.
thanks alot
nadasaif
hi,
yah , i had the same proplem ,
thanks alot,
Nada
thanks, derekb
Just wanted to say thanks for sharing the fix. Mindlessly easy and works beautifully.
Creating a php.ini file did
Creating a php.ini file did not work for me but I was able to switch off register_globals with the following line inserted into an .htaccess file:
php_flag register_globals 0
Help please
Hi everyone,
First time user of Drupal here...
I am trying to install it, however, I receive the same register_globals error as described above. I have tried both editing the .htaccess file & adding a php.ini file, however, they do not appear to resolve my problem.
I use an ASP based host (Ihostasp) & was wondering if this is the cause? I contacted my host & they suggested changing the php version to version 4, however, after doing that, Drupal install does not even load.
Any help would be greatly appreciated.
Thank you
Now I can signup with Hostgator and install 5.7. D6.1 is available at Fantastico but the modules that I need is not yet ready. Thanks again.
register_globals
Hi Guys,
Just got past the error messages for installing Drupal 6.
I am on the 1 and 1 server. This worked for me.
Use jedit and make a file called
php.ini
Add this text below.
register_globals = OFF
memory_limit = 16M
Thanks for your help.
Paul