Page 1 of 1

How do I get register_globals on for one site

PostPosted: 10. December 2013 09:12
by gwmbox
I use my local xampp for my own local development use so security is not an issue.

I am trying to install an older version of Oscommerce for testing but it requires register_globals to be on.

Can someone please explain how I can get register_globals to work on xampp please for just the one web site please.

Thanks

Re: How do I get register_globals on for one site

PostPosted: 10. December 2013 11:40
by Altrea
.htaccess rule!?

Re: How do I get register_globals on for one site

PostPosted: 10. December 2013 13:36
by Nobbie
gwmbox wrote:Can someone please explain how I can get register_globals to work on xampp please for just the one web site please.


There is no solution for Xampp 1.8.2

Altrea wrote:.htaccess rule!?


No.

From http://www.php.net/manual/en/security.globals.php

Warning

This feature has been DEPRECATED as of PHP 5.3.0 and REMOVED as of PHP 5.4.0

Re: How do I get register_globals on for one site

PostPosted: 10. December 2013 17:22
by Altrea
Thanks for clarification, Nobbie. Didn't need this rule for ages :D

Recommend way to reactivate old applications for testing and development reasons is to use an older version of XAMPP. It is very common that old applications are not able to run with current PHP versions.

Re: How do I get register_globals on for one site

PostPosted: 12. December 2013 01:33
by gwmbox
I am using 1.8.1, so my solution would be to install an older version of xampp like 1.7.2? Can I have both versions installed at the same time on the same computer?

Cheers

Re: How do I get register_globals on for one site

PostPosted: 12. December 2013 10:06
by Altrea
gwmbox wrote:I am using 1.8.1, so my solution would be to install an older version of xampp like 1.7.2?

You can use any version using at maximum PHP 5.3 (XAMPP 1.7.7 and below).
Recommend stable versions are XAMPP 1.7.7, XAMPP 1.7.3 or XAMPP 1.7.1.
XAMPP 1.7.2 have had some issues.

gwmbox wrote:Can I have both versions installed at the same time on the same computer?

Using the .zip version is recommend and if you don't register any windows services to start any of the XAMPP installation automatically, then yes you can have multiple XAMPP installations at the same time installed on the same computer (but cannot start them at the same time because they are configurated to use the same ports by default)