<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/openssl.setup.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'uk',
  ),
  'this' => 
  array (
    0 => 'openssl.configuration.php',
    1 => 'Налаштування під час виконання',
    2 => 'Налаштування під час виконання',
  ),
  'up' => 
  array (
    0 => 'openssl.setup.php',
    1 => 'Встановлення/налаштування',
  ),
  'prev' => 
  array (
    0 => 'openssl.installation.php',
    1 => 'Встановлення',
  ),
  'next' => 
  array (
    0 => 'openssl.resources.php',
    1 => 'Типи ресурсів',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/openssl/ini.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="openssl.configuration" class="section">
 <h2 class="title">Налаштування під час виконання</h2>
 <p class="simpara">
На поведінку цих функцій випливають налаштування в <var class="filename">php.ini</var>.
</p>
 <p class="para">
  <table class="doctable table">
   <caption><strong>openssl Параметри конфігурації</strong></caption>
   
    <thead>
     <tr>
      <th>Назва</th>
      <th>Початково</th>
      <th>Де можна змінювати</th>
      <th>Журнал змін</th>
     </tr>

    </thead>

    <tbody class="tbody">
     <tr>
      <td>openssl.cafile</td>
      <td>&quot;&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>openssl.capath</td>
      <td>&quot;&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

     <tr>
      <td>openssl.libctx</td>
      <td>&quot;custom&quot;</td>
      <td><strong><code><a href="info.constants.php#constant.ini-perdir">INI_PERDIR</a></code></strong></td>
      <td class="empty">&nbsp;</td>
     </tr>

    </tbody>
   
  </table>

  Докладніша інформація та визначення режимів INI_* на сторінці <a href="configuration.changes.modes.php" class="xref">Де можна встановлювати параметри конфігурації</a>.
 </p>

 <p class="para">Тут є коротке пояснення директив
конфігурації.</p>

 <p class="para">
  <dl>
   
    <dt id="ini.openssl.cafile">
     <code class="parameter">openssl.cafile</code>
     <span class="type"><a href="language.types.string.php" 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.php" 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>
   
   
    <dt id="ini.openssl.libctx">
     <code class="parameter">openssl.libctx</code>
     <span class="type"><a href="language.types.string.php" class="type string">string</a></span>
    </dt>
    <dd>
     <span class="simpara">
      Specifies the type of OpenSSL library context to use.
      The default value, <code class="literal">custom</code>, creates a separate
      library context for each worker or thread.
      This improves isolation from other libraries using OpenSSL and,
      in ZTS builds, increases separation between threads.
      It is also possible to use the <code class="literal">default</code> value, which
      causes PHP to use OpenSSL&#039;s global default library context.
     </span>
    </dd>
   
  </dl>
 </p>

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

</div><?php manual_footer($setup); ?>