Configuration à l'exécution

Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini.

Options de configuration Yar
Nom Défaut Modifiable Historique
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

Voici un éclaircissement sur l'utilisation des directives de configuration.

yar.packager string

peut être php, json, et msgpack (nécessite une compilation avec le support msgpack)

yar.debug string

yar.connect_timeout integer

délai d'attente maximal en ms

yar.timeout integer

délai d'attente maximal en ms

yar.expose_info bool

si l'on doit ou non exposer les informations du service (lors de l'accès au serveur via GET)