Fix using putenv() for environments with empty php $_ENV

See https://www.php.net/manual/en/ini.core.php 'variables_order'