Documentation

pm_WebServer_Apache extends pm_WebServer_Abstract
in package
implements pm_WebServer_Interface

Apache web server service interface

Tags
since
18.0

Interfaces, Classes and Traits

pm_WebServer_Interface
Web server service interface

Table of Contents

PARAMETER_CONF_DIR  = 'confDir'
PARAMETER_PHP_CGI_BIN  = 'phpCgiBin'
PARAMETER_USE_REQUIRE_OPTION  = 'useRequireOption'
__construct()  : mixed
getParameter()  : string|null
Get web server parameter
isEnabled()  : bool
Check whether the server is enabled
isInstalled()  : bool
Check whether the server is installed
isRunning()  : bool
Check whether the server is running

Constants

PARAMETER_CONF_DIR

public string PARAMETER_CONF_DIR = 'confDir'

Configuration directory of the web-server

Tags
since
18.0.47

PARAMETER_PHP_CGI_BIN

public string PARAMETER_PHP_CGI_BIN = 'phpCgiBin'

Path to the PHP-CGI binary

Tags
since
18.0.47

PARAMETER_USE_REQUIRE_OPTION

public string PARAMETER_USE_REQUIRE_OPTION = 'useRequireOption'

Use the Require option in the configuration

Tags
since
18.0.47

Methods

__construct()

public __construct() : mixed
Return values
mixed

getParameter()

Get web server parameter

public getParameter(string $name) : string|null
Parameters
$name : string
Tags
throws
pm_Exception
since
18.0.47
Return values
string|null

isEnabled()

Check whether the server is enabled

public isEnabled() : bool
Return values
bool

isInstalled()

Check whether the server is installed

public isInstalled() : bool
Return values
bool

isRunning()

Check whether the server is running

public isRunning() : bool
Return values
bool

Search results