Sophie

Sophie

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

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="com.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="com.resources.html">Resource Types</a></div>
 <div class="up"><a href="com.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="com.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>Com configuration 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="com.configuration.html#ini.com.allow-dcom" class="link">com.allow_dcom</a></td>
     <td>&quot;0&quot;</td>
     <td>PHP_INI_SYSTEM</td>
     <td>Available since PHP 4.0.5.</td>
    </tr>

    <tr>
     <td><a href="com.configuration.html#ini.com.autoregister-typelib" class="link">com.autoregister_typelib</a></td>
     <td>&quot;0&quot;</td>
     <td>PHP_INI_ALL</td>
     <td>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</td>
    </tr>

    <tr>
     <td><a href="com.configuration.html#ini.com.autoregister-verbose" class="link">com.autoregister_verbose</a></td>
     <td>&quot;0&quot;</td>
     <td>PHP_INI_ALL</td>
     <td>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</td>
    </tr>

    <tr>
     <td><a href="com.configuration.html#ini.com.autoregister-casesensitive" class="link">com.autoregister_casesensitive</a></td>
     <td>&quot;1&quot;</td>
     <td>PHP_INI_ALL</td>
     <td>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</td>
    </tr>

    <tr>
     <td><a href="com.configuration.html#ini.com.code-page" class="link">com.code_page</a></td>
     <td>&quot;&quot;</td>
     <td>PHP_INI_ALL</td>
     <td>Available since PHP 5.0.0.</td>
    </tr>

    <tr>
     <td><a href="com.configuration.html#ini.com.typelib-file" class="link">com.typelib_file</a></td>
     <td>&quot;&quot;</td>
     <td>PHP_INI_SYSTEM</td>
     <td>Available since PHP 4.0.5.</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.com.allow-dcom">
    <span class="term">
     <em><code class="parameter">com.allow_dcom</code></em>
    </span>
    <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>

   
   <dt id="ini.com.autoregister-typelib">
    <span class="term">
     <em><code class="parameter">com.autoregister_typelib</code></em>
    </span>
    <dd>

    <p class="para">
     When this is turned on, PHP will attempt to register constants from
     the typelibrary of 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.html#ini.com.autoregister-casesensitive" class="xref"></a> configuration directive.
    </p>
    </dd>

   </dt>


   <dt id="ini.com.autoregister-verbose">
    <span class="term">
     <em><code class="parameter">com.autoregister_verbose</code></em>
    </span>
    <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>


   <dt id="ini.com.autoregister-casesensitive">
    <span class="term">
     <em><code class="parameter">com.autoregister_casesensitive</code></em>
    </span>
    <dd>

    <p class="para">
     When this is turned on (the default), constants found in auto-loaded
     type libraries will be registered case sensitively.  See
      <span class="function"><a href="function.com-load-typelib.html" class="function">com_load_typelib()</a></span> for more details.
    </p>
    </dd>

   </dt>


   <dt id="ini.com.code-page">
    <span class="term">
     <em><code class="parameter">com.code_page</code></em>
    </span>
    <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>CP_ACP</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.html" 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>
    <blockquote class="note"><p><strong class="note">Note</strong>: 
     <span class="simpara">
      This configuration directive was introduced with PHP 5.
     </span>
    </p></blockquote>
    </dd>

   </dt>


   <dt id="ini.com.typelib-file">
    <span class="term">
     <em><code class="parameter">com.typelib_file</code></em>
    </span>
    <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.html" 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 <em>#cis</em> or <em>#case_insensitive</em>,
     then the constants from that library will be registered case
     insensitively.
    </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="com.installation.html">Installation</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="com.resources.html">Resource Types</a></div>
 <div class="up"><a href="com.setup.html">Installing/Configuring</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>