I'm getting this error:

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'))

But I've set register_globals to OFF in cpanel. If I change it to "ON", the drupal error goes away. It's like drupal has things backward. Should I leave register_globals set to "ON" (enabled) and risk the security problem just to make the drupal error go away, or should I assume the drupal error message is a bug and leave register_globals "OFF"?

Comments

publetariat’s picture

I must've been wrong earlier...I tried setting register_globals to ON just so I could get un-stuck and continue w/ my config, but drupal keeps throwing the same error regardless of my register_globals setting and will not let me continue w/ config. Ideas?

UPDATE: Found some threads on the topic...sorry for the cross-post; I'm just very, very frustrated with not being able to get through a single step of what's supposed to be a simple install without some new kind of bizarre error throwing and preventing me from continuing with the install/config!!!

UPDATE per other threads, opened Notepad and typed this line:
register_globals=Off

and saved the file as php.ini, then uploaded to root of public_html. Error resolved.

nycwolverine’s picture

Had the same issue and was going insane. Thanks for the fix, works great!

Oswaldo1965’s picture

then uploaded to root of public_html. Error resolved. Where, in which folder did you upload it to? i feel frustrated, soemthing that should be simple is tkaing ages. Thanks for any hint. Os

verminox’s picture

Put the php.ini file in the root of your site - the same directory in which u installed drupal.