VarnishAdmin::disconnect

(PECL varnish >= 1.0.0) Disconnect from a varnish instance administration interface public bool VarnishAdmin::disconnect ( void ) Returns: Returns TRUE on success or FALSE on failure.

VarnishAdmin::__construct

(PECL varnish >= 0.3) VarnishAdmin constructor public VarnishAdmin::__construct ([ array $args ] ) Parameters: args Configuration arguments. The possible keys are: VARNISH_CONFIG_IDENT - local varnish instance ident VARNISH_CONFIG_HOST - varnish instance ip VARNISH_CONFIG_PORT - varnish instance port VARNISH_CONFIG_SECRET - varnish instance secret VARNISH_CONFIG_TIMEOU

VarnishAdmin::connect

(PECL varnish >= 0.3) Connect to a varnish instance administration interface public bool VarnishAdmin::connect ( void ) Returns: Returns TRUE on success or FALSE on failure.

VarnishAdmin::clearPanic

(PECL varnish >= 0.4) Clear varnish instance panic messages public int VarnishAdmin::clearPanic ( void ) Returns: Returns the varnish command status.

VarnishAdmin::banUrl

(PECL varnish >= 0.3) Ban an URL using a VCL expression public int VarnishAdmin::banUrl ( string $vcl_regex ) Parameters: vcl_regex URL regular expression in PCRE compatible syntax. It's based on the ban.url varnish command. Returns: Returns the varnish command status.

VarnishAdmin::ban

(PECL varnish >= 0.3) Ban URLs using a VCL expression public int VarnishAdmin::ban ( string $vcl_regex ) Parameters: vcl_regex Varnish VCL expression. It's based on the varnish ban command. Returns: Returns the varnish command status.

VarnishAdmin::auth

(PECL varnish >= 0.3) Authenticate on a varnish instance public bool VarnishAdmin::auth ( void ) Returns: Returns TRUE on success or FALSE on failure.

tcpwrap_check

(PECL tcpwrap >= 0.1.0) Performs a tcpwrap check bool tcpwrap_check ( string $daemon, string $address [, string $user [, bool $nodns = false ]] ) This function consults the /etc/hosts.allow and /etc/hosts.deny files to check if access to service daemon should be granted or denied for a client. Parameters: daemon The service name. address

svn_update

(PECL svn >= 0.1.0) Update working copy int svn_update ( string $path [, int $revno = SVN_REVISION_HEAD [, bool $recurse = true ]] ) Update working copy at path to revision revno. If recurse is true, directories will be recursively updated. Parameters: path Path to local working copy. Note: Relative paths will be resolved as if the current working directory was the

svn_status

(PECL svn >= 0.1.0) Returns the status of working copy files and directories array svn_status ( string $path [, int $flags = 0 ] ) Returns the status of working copy files and directories, giving modifications, additions, deletions and other changes to items in the working copy. Parameters: path Local path to file or directory to retrieve status of. Note: Relative pa