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

contributors($setup);

?>
<div id="com.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>Com configuration options</strong></caption>
  
   <thead>
    <tr>
     <th>Назва</th>
     <th>Початково</th>
     <th>Де можна змінювати</th>
     <th>Журнал змін</th>
    </tr>

   </thead>

   <tbody class="tbody">
    <tr>
     <td><a href="com.configuration.php#ini.com.allow-dcom" class="link">com.allow_dcom</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.autoregister-typelib" class="link">com.autoregister_typelib</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.autoregister-verbose" class="link">com.autoregister_verbose</a></td>
     <td>&quot;0&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.autoregister-casesensitive" class="link">com.autoregister_casesensitive</a></td>
     <td>&quot;1&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.code-page" class="link">com.code_page</a></td>
     <td>&quot;&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-all">INI_ALL</a></code></strong></td>
     <td class="empty">&nbsp;</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.dotnet-version" class="link">com.dotnet_version</a></td>
     <td>&quot;&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</a></code></strong></td>
     <td>As of PHP 8.0.0</td>
    </tr>

    <tr>
     <td><a href="com.configuration.php#ini.com.typelib-file" class="link">com.typelib_file</a></td>
     <td>&quot;&quot;</td>
     <td><strong><code><a href="info.constants.php#constant.ini-system">INI_SYSTEM</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.com.allow-dcom">
     <code class="parameter">com.allow_dcom</code>
    </dt>
    <dd>
    <p class="para">
     When this is turned on, PHP will be allowed to operate as a D-COM
     (Distributed COM) client and will allow the PHP script to instantiate
     COM objects on a remote server.
    </p>
    </dd>
   
   
   
    <dt id="ini.com.autoregister-typelib">
     <code class="parameter">com.autoregister_typelib</code>
    </dt>
    <dd>
    <p class="para">
     When this is turned on, PHP will attempt to register constants from
     the typelibrary of <span class="classname"><a href="class.com.php" class="classname">COM</a></span> objects that it instantiates, if those objects
     implement the interfaces required to obtain that information.
     The case sensitivity of the constants it registers is controlled by the
     <a href="com.configuration.php#ini.com.autoregister-casesensitive" class="link">com.autoregister_casesensitive</a> <var class="filename">php.ini</var> directive.
    </p>
    </dd>
   

   
    <dt id="ini.com.autoregister-verbose">
     <code class="parameter">com.autoregister_verbose</code>
    </dt>
    <dd>
    <p class="para">
     When this is turned on, any problems with loading a typelibrary during
     object instantiation will be reported using the PHP error mechanism.
     The default is off, which does not emit any indication if there was
     an error finding or loading the type library.
    </p>
    </dd>
   

   
    <dt id="ini.com.autoregister-casesensitive">
     <code class="parameter">com.autoregister_casesensitive</code>
    </dt>
    <dd>
    <p class="para">
     When this is turned on (the default), constants found in auto-loaded
     type libraries when instatiating <span class="classname"><a href="class.com.php" class="classname">COM</a></span> objects will be registered case sensitively.  See
     <span class="function"><a href="function.com-load-typelib.php" class="function">com_load_typelib()</a></span> for more details.
    </p>
    </dd>
   

   
    <dt id="ini.com.code-page">
     <code class="parameter">com.code_page</code>
    </dt>
    <dd>
    <p class="para">
     It controls the default character set code-page to use when passing
     strings to and from COM objects.  If set to an empty string, PHP will
     assume that you want <strong><code><a href="com.constants.php#constant.cp-acp">CP_ACP</a></code></strong>, which is the default
     system ANSI code page.
    </p>
    <p class="para">
     If the text in your scripts is encoded using a different
     encoding/character set by default, setting this directive will save you
     from having to pass the code page as a parameter to the <a href="class.com.php" class="xref">com</a> class constructor.  Please note that by
     using this directive (as with any PHP configuration directive), your PHP
     script becomes less portable; you should use the COM constructor parameter
     whenever possible.
    </p>
    </dd>
   

   
    <dt id="ini.com.dotnet-version">
     <code class="parameter">com.dotnet_version</code>
    </dt>
    <dd>
    <p class="para">
     The version of the .NET framework to use for <span class="classname"><a href="class.dotnet.php" class="classname">dotnet</a></span> objects.
     The value of the setting is the first three parts of the framework&#039;s version number,
     separated by dots, and prefixed with <code class="literal">v</code>, e.g. <code class="literal">v4.0.30319</code>.
    </p>
    </dd>
   

   
    <dt id="ini.com.typelib-file">
     <code class="parameter">com.typelib_file</code>
    </dt>
    <dd>
    <p class="para">
     When set, this should hold the path to a file that contains a list
     of typelibraries that should be loaded on startup.  Each line of
     the file will be treated as the type library name and loaded as
     though you had called <span class="function"><a href="function.com-load-typelib.php" class="function">com_load_typelib()</a></span>.
     The constants will be registered persistently, so that the library
     only needs to be loaded once.  If a type library name ends with the
     string <code class="literal">#cis</code> or <code class="literal">#case_insensitive</code>,
     then the constants from that library will be registered case
     insensitively.
    </p>
    </dd>
   
  
  </dl>
 </p>
 
</div><?php manual_footer($setup); ?>