public static function phpEnviromentInit()
 {
     if (GlobalState::$TYPE === 'LOCAL') {
         //for LOCAL use user time zone or UTC if not set
         $timezone = @date_default_timezone_get();
         // if not set default timezone set as UTC
         if ($timezone == 'UTC') {
             date_default_timezone_set('UTC');
         }
     } else {
         date_default_timezone_set('UTC');
         // for CLOUDE use UTC
     }
     // check if available openssl for use https
     if (!extension_loaded("openssl")) {
         Log::writeWarn('PHP module "openssl" not installed or not switch on in php.ini file', $target = 'file');
         Config::setServerUrl(preg_replace('/^http:\\/\\/|https:\\/\\/(.*)$/', 'http://${1}', Config::$SERVER_URL));
         Log::writeWarn('All https requests to ' . Config::$SERVER_URL . 'changed on http requests', $target = 'file');
     }
 }