Sophie

Sophie

distrib > Mageia > 4 > i586 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 12379

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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="tokyo-tyrant.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tokyo-tyrant.resources.html">Resource Types</a></div>
 <div class="up"><a href="tokyo-tyrant.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="tokyo-tyrant.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>tokyo_tyrant 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="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.default-timeout" class="link">tokyo_tyrant.default_timeout</a></td>
      <td>2.0</td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.session-salt" class="link">tokyo_tyrant.session_salt</a></td>
      <td><strong><code>NULL</code></strong></td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.key-prefix" class="link">tokyo_tyrant.key_prefix</a></td>
      <td><strong><code>NULL</code></strong></td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.allow-failover" class="link">tokyo_tyrant.allow_failover</a></td>
      <td>1</td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.fail-threshold" class="link">tokyo_tyrant.fail_threshold</a></td>
      <td>5</td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.health-check-divisor" class="link">tokyo_tyrant.health_check_divisor</a></td>
      <td>1000</td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

     <tr>
      <td><a href="tokyo-tyrant.configuration.html#ini.tokyo-tyrant.php-expiration" class="link">tokyo_tyrant.php_expiration</a></td>
      <td>0</td>
      <td>PHP_INI_ALL</td>
      <td></td>
     </tr>

</tbody>
   
  </table>

 </p>

 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>

 <p class="para">
  <dl>

   <dt id="ini.tokyo-tyrant.default-timeout">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.default_timeout</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
       Default timeout when connecting to databases
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.session-salt">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.session_salt</code></em>
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
     </span>
     <dd>

      <p class="para">
       The secret that is used to salt session id
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.key-prefix">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.key_prefix</code></em>
      <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
     </span>
     <dd>

      <p class="para">
       Prefix all keys with this string. The prefix is transparent
       to the developer but helps making sure that keys won&#039;t collide if multiple
       applications are using the same database.
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.allow-failover">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.allow_failover</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
       Whether to allow session failover in case a server dies.
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.fail-threshold">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.fail_threshold</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
       How many read/write or connection failures is allowed
       before server is marked as failed.
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.health-check-divisor">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.health_check_divisor</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
       Defines the divisor for the health check probability. If there are failed
       servers and the probability matches, the servers are health checked and
       in case the server seems healthy, it will be added back to the pool.
      </p>
     </dd>

    </dt>

    <dt id="ini.tokyo-tyrant.php-expiration">
     <span class="term">
      <em><code class="parameter">tokyo_tyrant.php_expiration</code></em>
      <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
     </span>
     <dd>

      <p class="para">
       Whether to use built in session expiration mechanism or delegate 
       the expiration to a lua-script on the server-side.
      </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="tokyo-tyrant.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="tokyo-tyrant.resources.html">Resource Types</a></div>
 <div class="up"><a href="tokyo-tyrant.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>