\Pop\WebServer

Server class

Summary

Methods
Properties
Constants
__construct()
getOs()
getDistro()
getSoftware()
getServer()
getPhp()
getServerVersion()
isLinux()
isUnix()
isWindows()
isMac()
isApache()
isIIS()
No public properties found
No constants found
detect()
$os
$distro
$software
$server
$serverVersion
$php
$linux
$unix
$windows
$mac
N/A
No private methods found
No private properties found
N/A

Properties

$os

$os : string

Server OS

Type

string

$distro

$distro : string

Server Distribution

Type

string

$software

$software : string

Full Server Software String

Type

string

$server

$server : string

Server Software

Type

string

$serverVersion

$serverVersion : string

Server Software Version

Type

string

$php

$php : string

PHP Version

Type

string

$linux

$linux : boolean

Linux flag

Type

boolean

$unix

$unix : boolean

Unix flag

Type

boolean

$windows

$windows : boolean

Windows flag

Type

boolean

$mac

$mac : boolean

Mac flag

Type

boolean

Methods

__construct()

__construct() : \Pop\Web\Server

Constructor

Instantiate the server session object

Returns

\Pop\Web\Server

getOs()

getOs() : string

Get OS

Returns

string

getDistro()

getDistro() : string

Get distro

Returns

string

getSoftware()

getSoftware() : string

Get server software

Returns

string

getServer()

getServer() : string

Get server

Returns

string

getPhp()

getPhp() : string

Get PHP version

Returns

string

getServerVersion()

getServerVersion() : string

Get server version

Returns

string

isLinux()

isLinux() : boolean

Get Linux flag

Returns

boolean

isUnix()

isUnix() : boolean

Get Unix flag

Returns

boolean

isWindows()

isWindows() : boolean

Get Windows flag

Returns

boolean

isMac()

isMac() : boolean

Get Mac flag

Returns

boolean

isApache()

isApache() : boolean

Get Apache flag

Returns

boolean

isIIS()

isIIS() : boolean

Get IIS flag

Returns

boolean

detect()

detect() : void

Detect properties