DreamHost Web Hosting
Discussion Forum


Forums
   >> 3rd Party Software & Scripts
Return to the search engineFlat Mode*

Subject Re: register_globals off in PHP 4 (joomla) [re: rlparker]  
Posted bypangea33 (DH Enthusiast)
Posted on01/11/07 03:47 PM


To reiterate, there are no problems with Joomla when switching from PHP4 to PHP5. I've gone between the two a couple times and never had to change anything.

Even when using PHP5 with register_globals off, you very easily could still see the warning message about them being enabled. Keep in mind that Joomla has a feature to emulate register_globals even when they're disabled in PHP, for backward compatibility with older modules requiring it.

Double check the 'RG_EMULATION' setting in your globals.php and make sure it's set to false for best security. If you're using any modules that depend on that setting, uninstall them and find a better alternative.

/**
* Use 1 to emulate register_globals = on
* WARNING: SETTING TO 1 MAY BE REQUIRED FOR BACKWARD COMPATIBILITY
* OF SOME THIRD-PARTY COMPONENTS BUT IS NOT RECOMMENDED
*
* Use 0 to emulate regsiter_globals = off
* NOTE: THIS IS THE RECOMMENDED SETTING FOR YOUR SITE BUT YOU MAY
* EXPERIENCE PROBLEMS WITH SOME THIRD-PARTY COMPONENTS
*/
define( 'RG_EMULATION', 0 );




 
Entire thread
Subject  Posted byPosted on
*register_globals off in PHP 4 (joomla)  poisonivy01/03/07 12:20 PM
.*Re: register_globals off in PHP 4 (joomla)  scjessey01/03/07 12:25 PM
.*Re: register_globals off in PHP 4 (joomla)  poisonivy01/03/07 12:36 PM
.*Re: register_globals off in PHP 4 (joomla)  rlparker01/03/07 02:32 PM
..Re: register_globals off in PHP 4 (joomla)  pangea3301/11/07 03:47 PM
.*Re: register_globals off in PHP 4 (joomla)  scjessey01/03/07 01:04 PM
Jump to