yii\web\ErrorHandler::createServerInformationLink PHP Method

    public function createServerInformationLink()
    {
        $serverUrls = ['http://httpd.apache.org/' => ['apache'], 'http://nginx.org/' => ['nginx'], 'http://lighttpd.net/' => ['lighttpd'], 'http://gwan.com/' => ['g-wan', 'gwan'], 'http://iis.net/' => ['iis', 'services'], 'http://php.net/manual/en/features.commandline.webserver.php' => ['development']];
        if (isset($_SERVER['SERVER_SOFTWARE'])) {
            foreach ($serverUrls as $url => $keywords) {
                foreach ($keywords as $keyword) {
                    if (stripos($_SERVER['SERVER_SOFTWARE'], $keyword) !== false) {
                        return '<a href="' . $url . '" target="_blank">' . $this->htmlEncode($_SERVER['SERVER_SOFTWARE']) . '</a>';
                    }
                }
            }
        }
        return '';
    }