SuiteCRM 7.13.2 src and 8.2.4 install on PHP 8.1

Resolved the PHP 8.1 and above, issue “PHP Fatal error: $GLOBALS can only be modified using the $GLOBALS[$name] = $value syntax in …\install\performSetup.php”, used this to fix the 7.x install.

With ChatGPT’s help, I wrote this in that file:

//$GLOBALS = $varStack[‘GLOBALS’];
foreach($varStack[‘GLOBALS’] as $key => $value) {
    $GLOBALS[$key] = $value;
}

Install of 7.x went fine after that!