getAllDirectives
DirectiveServiceResponse getAllDirectives(server)
Description: Gets information about directives on a given server.
Return Values: Returns an object containing all the directives read from the given server name and their relevant data (name, current value, loaded value, INI file the directive was read from).
Parameters: string $server: Server alias of the server you would like to get directives from
getDirective
DirectiveServiceResponse getDirective(server, name)
Description: Gets the desired directive name and the server from which the directive value will be read.
Return Values: Returns a response object holding the following information: directive name current value, loaded value, name of INI file the directive was read from.
Parameters: string $server: Server alias of the server you would like to get directives from
string $name: Directive name
setDirectiveOnServer
ServiceResponse setDirectiveOnServer(server, name, value, ini_file, password)
Description: Sets a new value for the given directive on the specified server. The user must specify the ini file this directive will be set in. The Password is only needed if the ini_file is php.ini.
Return Values: None
Parameters: string $name: Directive name to set
string $value: New directive value
string $ini_file: Name of INI file to save the directive in
string $server: Server alias of the server you would like to set directives on
string $password: Password for INI modifier (required only if INI file is php.ini)
setDirectiveOnCluster
ServiceResponse setDirectiveOnCluster(cluster, name, value, ini_file, password)
Description: Sets a new value for the given directive on all the servers belonging to the given cluster. The Password is only needed if the ini_file is php.ini. (assuming all servers in cluster use same password).
Parameters: string $cluster: Server Group name
string $name: Directive name
string $value: Directive Value
string $ini_file: Name if INI file to use in order to set the directive
string $password: Password for INI modifier (required only if INI file is php.ini)
|
|
|
|
|
Related Links: |
|
|
|