Registered Globals
Posted August 14th, 2008 by DrupalGetting a registered globals issue when trying to install a drupal site on the 1and1.com shared hosting environment. Simple fix - should have written it down earlier, but resolved simply by adding the following code to the .htaccess file that is preset with the drupal site:
Pasted that in at the top . . . and it fixed the registered globals issue. I think this basically tells the server to run the site as php version 5 instead of 4.
If you have cpanel (like I do) and your server has been updated to PHP5 - but you know that it doesn't work unless you change all of your extensions to .php5, add this to your apache handlers page (from your cpanel):
extension: .php
This will automatically put the following code into your .htaccess form at the bottom (go look, it's there):
Post new comment