View Single Post
  #2  
Old 03-24-2011, 10:59 PM
virtvir5's Avatar
virtvir5 virtvir5 is offline
King Croc
 
Join Date: Feb 2009
Location: Parry Sound, Canada
Posts: 1,269
Default Re: acquia-drupal - getting errors..

Since HostGator currently runs suPHP on all of its shared servers, all PHP configuration default settings are determined by php.ini file entries. The use of .htaccess files is limited to providing suPHP_ConfigPath pointers to php.ini files other than the server's own defaults.

Since HG's default setting for register_globals is 'On', you'd need to create your own php.ini file for setting it 'Off' and then modify your .htaccess file to include a suPHP_ConfigPath pointer to that php.ini file.

The cPanel tool under Software/Services -> php.ini QuickConfig provides an easy way to do exactly that. But keep the changes that it makes in mind (see this sticky) if you ever decide to change from one PHP version to another.
__________________
Regards, Richard
VIRtech.org
Reply With Quote