PDA

View Full Version : Error: register_globals is disabled in php.ini, please enable it


dirtybobby
05-27-2007, 03:10 PM
i've just tried to install osCommerce, but get the following error message:

FATAL ERROR: register_globals is disabled in php.ini, please enable it!

is this something i can do, or is it part of the PHP that i have no access to and no control over?

thanks..

Matt
05-27-2007, 03:11 PM
http://apisnetworks.com/resources.php?cid=5&id=2

dirtybobby
05-27-2007, 03:15 PM
damn, you're fast!

i just came back here to edit my post to say i had sussed it! there is a .htaccess file provided with osCommerce, all i had to do was comment out the final lines thusly:

#<IfModule mod_php4.c>
#php_value session.use_trans_sid 0
php_value register_globals 1
#</IfModule>

thanks for the quick response!