You Are Here: Home » Articles » How-To » Programming » Tech » Web

How To Fix “Register Globals Is Enabled” Issue While Installing Drupal?

By on December 4th, 2010 
Advertisement

Drupal LogoDrupal is a near to perfect CMS for any kind of website. It is easy to use and installs like a charm. However you may face a slight glitch when you try to install it online on a web host. Some web hosts have a PHP property called register_globals enabled by default. But Drupal requires this property to be disabled, else you may get an errorĀ  while installing Drupal. In this article we will tell you how to fix this issue.

Here is a screenshot of the actual error which you may face.

Drupal "Register Globals ON" Error
Drupal "Register Globals ON" Error

Fixing this error is very simple. All you need to do is edit a few settings in your PHP configuration file - php.ini. However it is always recommended not to directly edit any base configuration files. Instead what you can do is, create an empty file and save it as php.in in your Drupal's root folder, that is the folder where you have installed Drupal.

After you have created the file, just insert the following one line in it and save the file:

register_globals = off

You can resume your drupal installation again by reloading the page where you got the error. You can now see that Drupal will not complain any more about the register_globals error.

Advertisement



Related Posts by Tags: , , , , ,





How To Fix “Register Globals Is Enabled” Issue While Installing Drupal? was originally published on Digitizor.com on December 4, 2010 - 5:17 pm (Indian Standard Time)