VarnishAdmin::setParam
(PECL varnish >= 0.4)
VarnishAdmin::setParam — Set configuration param on the current varnish instance
Описание
public int VarnishAdmin::setParam
( string
$name
, string|integer $value
)
Список параметров
-
name
-
Varnish configuration param name.
-
value
-
Varnish configuration param value.
Возвращаемые значения
Returns the varnish command status.
- Функция VarnishAdmin::auth() - Authenticate on a varnish instance
- Функция VarnishAdmin::ban() - Ban URLs using a VCL expression
- Функция VarnishAdmin::banUrl() - Ban an URL using a VCL expression
- Функция VarnishAdmin::clearPanic() - Clear varnish instance panic messages
- Функция VarnishAdmin::connect() - Connect to a varnish instance administration interface
- Функция VarnishAdmin::__construct() - VarnishAdmin constructor
- Функция VarnishAdmin::disconnect() - Disconnect from a varnish instance administration interface
- Функция VarnishAdmin::getPanic() - Get the last panic message on a varnish instance
- Функция VarnishAdmin::getParams() - Fetch current varnish instance configuration parameters
- Функция VarnishAdmin::isRunning() - Check if the varnish slave process is currently running
- Функция VarnishAdmin::setCompat() - Set the class compat configuration param
- Функция VarnishAdmin::setHost() - Set the class host configuration param
- Функция VarnishAdmin::setIdent() - Set the class ident configuration param
- Функция VarnishAdmin::setParam() - Set configuration param on the current varnish instance
- Функция VarnishAdmin::setPort() - Set the class port configuration param
- Функция VarnishAdmin::setSecret() - Set the class secret configuration param
- Функция VarnishAdmin::setTimeout() - Set the class timeout configuration param
- Функция VarnishAdmin::start() - Start varnish worker process
- Функция VarnishAdmin::stop() - Stop varnish worker process
Коментарии
404 Not Found