Log in

View Full Version : PHP register globals of Hostgator Web Hosting


Nacogdoches
2014-05-27, 07:17 AM
After I installed drupal I got these massage:



register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled.

Nadeau
2014-05-27, 07:19 AM
add this code to your primary .htaccess (/home/username/public_html/.htaccess).

Be sure to replace "username" with your actual cPanel user name.

<IfModule mod_suphp.c>
suPHP_ConfigPath /home/username
<Files php.ini>
order allow,deny
deny from all
</Files>
</IfModule>