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

I want to install Os commerce on my local server (using XAMPP), but facing the problem as below...

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

Can anybody help me ? Wud be highly appriciated. Thanks

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

You need to locate the file php.ini (on Debian it's typically at /etc/php5/apache2), edit the file and find the reference to register_globals.  Set the value to On and restart your web server. 

(Don't think it needs to be ON for FA though)

As you edit the file, you'll notice that setting register_globals carries a security risk.

W

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

Keep in mind register_globals set to On is potentially dangerous. Does latest version of OSCommerce still need this?

Janusz

4 (edited by rthor 05/28/2010 02:16:39 pm)

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

See http://php.net/manual/en/security.globals.php if you don't understand the risks.

The register_globals option is deprecated so I imagine that osCommerce will no longer require it soon, if it doesn't already.

[edit]
Poking around on the osCommerce site, I did find a patch which removes the need for register_globals on older versions.
[/edit]