By calebm12 on
Just moved my site from localhost to a live server and have a few "errors" i need to sort through. This is my first ever experience getting into php/mysql/drupal and am a bit confused. One of the warnings it PHP REGISTER GLOBALS. It says
register_globals is enabled. Drupal requires this configuration directive to be disabled. Your site may not be secure when register_globals is enabled. The PHP manual has instructions for how to change configuration settings.
How do i go about disabling this. I loooked at the PHP manual but it really got my head spinning.
Comments
Do you have shell access to
I'd like to help you out, but I'll need some more information.
Do you have shell access to the server? If not, which control panel are you running?
Do you know how to edit php.ini for your server?
hey I am hosting on hostgator
hey
I am hosting on hostgator and using the cpanel.
not sure how to edit php.ini for them.....or where they have placed the file. Is this something they create or something i do.
Sorry...i am 100% neewbie on this stuff....really apprecaite your help!
Check: http://forums.hostgato
Check:
http://forums.hostgator.com/php-and-register-globals-t4416.html?s=d63b99...
It says to add the following to your .htaccess file:
'php_value register_globals 0'
Does that sort out the issue for you?
that did it! many thanks
that did it! many thanks