Configuration à l'exécution
Le comportement de ces fonctions est affecté par la configuration dans le fichier php.ini.
| 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_SYS |
Voici un éclaircissement sur l'utilisation des directives de configuration.
-
yar.packagerstring -
peut être php, json, et msgpack (nécessite une compilation avec le support msgpack)
-
yar.debugstring -
-
yar.connect_timeoutinteger -
délai d'attente maximal en ms
-
yar.timeoutinteger -
délai d'attente maximal en ms
-
yar.expose_infobool -
si l'on doit ou non exposer les informations du service (lors de l'accès au serveur via GET)