src/Dev/Install/InstallEnvironmentAware.php
public function findWebserver()
    {
        // Try finding from SERVER_SIGNATURE or SERVER_SOFTWARE
        if (!empty($_SERVER['SERVER_SIGNATURE'])) {
            $webserver = $_SERVER['SERVER_SIGNATURE'];
        } elseif (!empty($_SERVER['SERVER_SOFTWARE'])) {
            $webserver = $_SERVER['SERVER_SOFTWARE'];
        } else {
            return false;
        }

        return strip_tags(trim($webserver));
    }
public function findWebserver()
    {
        // Try finding from SERVER_SIGNATURE or SERVER_SOFTWARE
        if (!empty($_SERVER['SERVER_SIGNATURE'])) {
            $webserver = $_SERVER['SERVER_SIGNATURE'];
        } elseif (!empty($_SERVER['SERVER_SOFTWARE'])) {
            $webserver = $_SERVER['SERVER_SOFTWARE'];
        } else {
            return false;
        }

        return strip_tags(trim($webserver));
    }
public function findWebserver ( ) { // Try finding from SERVER_SIGNATURE or SERVER_SOFTWARE if ( ! empty ( $ _SERVER [ 'SERVER_SIGNATURE' ] ) ) { $ webserver = $ _SERVER [ 'SERVER_SIGNATURE' ] ; } elseif ( ! empty ( $ _SERVER [ 'SERVER_SOFTWARE' ] ) ) { $ webserver = $ _SERVER [ 'SERVER_SOFTWARE' ] ; } else { return false ; } return strip_tags ( trim ( $ webserver ) ) ; }
Find the webserver software running on the PHP host.

@return string|false Server software or boolean FALSE
Find the webserver software running on the PHP host .