Runtime Configuration

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

Yar Configure Options
NameDefaultChangeableChangelog
yar.packagerphpINI_SYSTEM
yar.debugOffINI_ALL
yar.connect_timeout1000INI_ALL
yar.timeout5000INI_ALL
yar.expose_infoOnINI_SYSTEM

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 int

timeout in ms

yar.timeout int

timeout in ms

yar.expose_info bool

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