Sophie

Sophie

distrib > Mageia > 7 > i586 > by-pkgid > 2b917e0437961edec048f1d15e2d7449 > files > 11083

php-manual-en-7.2.11-1.mga7.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="openssl.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="openssl.resources.html">Resource Types</a></div>
 <div class="up"><a href="openssl.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="openssl.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>openssl 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>openssl.cafile</td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_PERDIR</td>
      <td>Available since PHP 5.6.0.</td>
     </tr>

     <tr>
      <td>openssl.capath</td>
      <td>&quot;&quot;</td>
      <td>PHP_INI_PERDIR</td>
      <td>Available since PHP 5.6.0.</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.openssl.cafile">
     <code class="parameter">openssl.cafile</code>
     <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
    </dt>

    <dd>

     <p class="para">
       Location of Certificate Authority file on local filesystem which should
       be used with the verify_peer context option to authenticate the
       identity of the remote peer.
     </p>
    </dd>

   
   
    <dt id="ini.openssl.capath">
     <code class="parameter">openssl.capath</code>
     <span class="type"><a href="language.types.string.html" class="type string">string</a></span>
    </dt>

    <dd>

     <p class="para">
       If cafile is not specified or if the certificate is not found there, the
       directory pointed to by capath is searched for a suitable certificate.
       capath must be a correctly hashed certificate directory.
     </p>
    </dd>

   
  </dl>

 </p>

 <p class="para">
  See also the <a href="context.ssl.html" class="link">SSL stream context</a> options.
 </p>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="openssl.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="openssl.resources.html">Resource Types</a></div>
 <div class="up"><a href="openssl.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>