ConFoo 2025

Runtime Configuration

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

Yar Configure Options
Name Default Changeable Changelog
yar.packager php INI_SYSTEM
yar.debug Off INI_ALL
yar.connect_timeout 1000 INI_ALL
yar.timeout 5000 INI_ALL
yar.expose_info On INI_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)

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top