Community

Can't run updates register_globals error

Hi,

I'm new to this. I don't know anything about PHP. Need help.

So I'm trying to run updates on my Drupal site and keep getting this Error Message.

PHP register globals Enabled ('1')
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled.

So I had a look at my .htaccess file and it seems like register_globals is turned off. This is what it reads like

# PHP 5, Apache 1 and 2.
<IfModule mod_php5.c>
  php_flag magic_quotes_gpc                 off
  php_flag magic_quotes_sybase              off
  php_flag register_globals                 off
  php_flag session.auto_start               off
  php_value mbstring.http_input             pass
  php_value mbstring.http_output            pass
  php_flag mbstring.encoding_translation    off
</IfModule>

Any idea what could be wrong?

Thank you for your help!

Comments

So I got it fixed by creating

So I got it fixed by creating a dedicated php.ini file

It's working fine now.