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.packagerstring

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

yar.debugstring

yar.connect_timeoutint

timeout in ms

yar.timeoutint

timeout in ms

yar.expose_infobool

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

To Top