Installation
Resource Types
Installing/Configuring
PHP Manual

## Runtime Configuration

The behaviour of these functions is affected by settings in php.ini.

Yar Configure Options
Name | Default | Changeable | Changelog
--- | --- | --- | ---
yar.packager | php | PHP_INI_SYSTEM |
yar.debug | Off | PHP_INI_ALL |
yar.connect_timeout | 1000 | PHP_INI_ALL |
yar.timeout | 5000 | PHP_INI_ALL |
yar.expose_info | On | PHP_INI_SYS |

Here's a short explanation of the configuration directives.

`yar.packager` string

  it could be php, json, and msgpack(require built with msgpack support)

`yar.debug` string

`yar.connect_timeout` integer

  timeout in ms

`yar.timeout` integer

  timeout in ms

`yar.expose_info` bool

  whether expose the service info(when access the server via GET)