Sophie

Sophie

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

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="expect.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="expect.resources.html">Resource Types</a></div>
 <div class="up"><a href="expect.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="expect.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">
  In order to configure expect extension, there are configuration options
  in the <a href="configuration.file.html" class="link">configuration file</a> <var class="filename">php.ini</var>.
  <table class="doctable table">
   <caption><strong>Expect 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="expect.configuration.html#ini.expect.timeout" class="link">expect.timeout</a></td>
      <td>&quot;10&quot;</td>
      <td>PHP_INI_ALL</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.html#ini.expect.loguser" class="link">expect.loguser</a></td>
      <td>&quot;1&quot;</td>
      <td>PHP_INI_ALL</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.html#ini.expect.logfile" class="link">expect.logfile</a></td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_ALL</td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td><a href="expect.configuration.html#ini.expect.match-max" class="link">expect.match_max</a></td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_ALL</td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  For further details and definitions of the
PHP_INI_* modes, see the <a href="configuration.changes.modes.html" class="xref">Where a configuration setting may be set</a>.
 </p>
 
 <p class="para">Here&#039;s a short explanation of
the configuration directives.</p>
 
 <p class="para">
  <dl>

   <dt id="ini.expect.timeout">
    <span class="term">
     <em><code class="parameter">expect.timeout</code></em>
     <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
    </span>
    <dd>

     <p class="para">
      The timeout period for waiting for the data, when using the
       <span class="function"><a href="function.expect-expectl.html" class="function">expect_expectl()</a></span> function.
     </p>
     <p class="para">
      A value of &quot;-1&quot; disables a timeout from occurring.
     </p>
     <blockquote class="note"><p><strong class="note">Note</strong>: 
      <p class="para">
       A value of &quot;0&quot; causes the  <span class="function"><a href="function.expect-expectl.html" class="function">expect_expectl()</a></span>
       function to return immediately.
      </p>
     </p></blockquote>
    </dd>

   </dt>


   <dt id="ini.expect.loguser">
    <span class="term">
     <em><code class="parameter">expect.loguser</code></em>
     <span class="type"><a href="language.types.boolean.html" class="type boolean">boolean</a></span>
    </span>
    <dd>

     <p class="para">
      Whether expect should send any output from the spawned process to stdout.
      Since interactive programs typically echo their input, this usually suffices
      to show both sides of the conversation.
     </p>
    </dd>

   </dt>


   <dt id="ini.expect.logfile">
    <span class="term">
     <em><code class="parameter">expect.logfile</code></em>
     <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
    </span>
    <dd>

     <p class="para">
      Name of the file, where the output from the spawned process will be
      written. If this file doesn&#039;t exist, it will be created.
     </p>
     <blockquote class="note"><p><strong class="note">Note</strong>: 
      <p class="para">
       If this configuration is not empty, the output is written regardless of
       the value of <a href="expect.configuration.html#ini.expect.loguser" class="link">expect.loguser</a>.
      </p>
     </p></blockquote>
    </dd>

   </dt>


   <dt id="ini.expect.match-max">
    <span class="term">
     <em><code class="parameter">expect.match_max</code></em>
     <span class="type"><a href="language.types.integer.html" class="type integer">integer</a></span>
    </span>
    <dd>

     <p class="para">
      Changes default size (2000 bytes) of the buffer used to match asterisks
      in patterns.
     </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="expect.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="expect.resources.html">Resource Types</a></div>
 <div class="up"><a href="expect.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>