Runtime Configuration
The behaviour of these functions is affected by settings in php.ini.
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_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)