<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Runtime Configuration</title> </head> <body><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="yar.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="yar.resources.html">Resource Types</a></div> <div class="up"><a href="yar.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div><hr /><div id="yar.configuration" class="section"> <h2 class="title">Runtime Configuration</h2> <p class="simpara"> The behaviour of these functions is affected by settings in <var class="filename">php.ini</var>. </p> <p class="para"> <table class="doctable table"> <caption><strong>Yar Configure Options</strong></caption> <thead> <tr> <th>Name</th> <th>Default</th> <th>Changeable</th> <th>Changelog</th> </tr> </thead> <tbody class="tbody"> <tr> <td><a href="yar.configuration.html#ini.yar.packager" class="link">yar.packager</a></td> <td>php</td> <td>PHP_INI_SYSTEM</td> <td></td> </tr> <tr> <td><a href="yar.configuration.html#ini.yar.debug" class="link">yar.debug</a></td> <td>Off</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="yar.configuration.html#ini.yar.connect-timeout" class="link">yar.connect_timeout</a></td> <td>1000</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="yar.configuration.html#ini.yar.timeout" class="link">yar.timeout</a></td> <td>5000</td> <td>PHP_INI_ALL</td> <td></td> </tr> <tr> <td><a href="yar.configuration.html#ini.yar.expose-info" class="link">yar.expose_info</a></td> <td>On</td> <td>PHP_INI_SYS</td> <td></td> </tr> </tbody> </table> </p> <p class="para">Here's a short explanation of the configuration directives.</p> <p class="para"> <dl> <dt id="ini.yar.packager"> <span class="term"> <em><code class="parameter">yar.packager</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> it could be php, json, and msgpack(require built with msgpack support) </p> </dd> </dt> <dt id="ini.yar.debug"> <span class="term"> <em><code class="parameter">yar.debug</code></em> <span class="type"><a href="language.types.string.html" class="type string">string</a></span> </span> <dd> <p class="para"> </p> </dd> </dt> <dt id="ini.yar.connect-timeout"> <span class="term"> <em><code class="parameter">yar.connect_timeout</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> timeout in ms </p> </dd> </dt> <dt id="ini.yar.timeout"> <span class="term"> <em><code class="parameter">yar.timeout</code></em> <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span> </span> <dd> <p class="para"> timeout in ms </p> </dd> </dt> <dt id="ini.yar.expose-info"> <span class="term"> <em><code class="parameter">yar.expose_info</code></em> <span class="type"><a href="language.types.boolean.html" class="type bool">bool</a></span> </span> <dd> <p class="para"> whether expose the service info(when access the server via GET) </p> </dd> </dt> </dl> </p> </div><hr /><div class="manualnavbar" style="text-align: center;"> <div class="prev" style="text-align: left; float: left;"><a href="yar.installation.html">Installation</a></div> <div class="next" style="text-align: right; float: right;"><a href="yar.resources.html">Resource Types</a></div> <div class="up"><a href="yar.setup.html">Installing/Configuring</a></div> <div class="home"><a href="index.html">PHP Manual</a></div> </div></body></html>