1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193
|
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.6 $ -->
<section xml:id="com.configuration" xmlns="http://docbook.org/ns/docbook">
&reftitle.runtime;
&extension.runtime;
<para>
<table>
<title>Com configuration options</title>
<tgroup cols="4">
<thead>
<row>
<entry>Name</entry>
<entry>Default</entry>
<entry>Changeable</entry>
<entry>Changelog</entry>
</row>
</thead>
<tbody>
<row>
<entry>com.allow_dcom</entry>
<entry>"0"</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
<row>
<entry>com.autoregister_typelib</entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</entry>
</row>
<row>
<entry>com.autoregister_verbose</entry>
<entry>"0"</entry>
<entry>PHP_INI_ALL</entry>
<entry>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</entry>
</row>
<row>
<entry>com.autoregister_casesensitive</entry>
<entry>"1"</entry>
<entry>PHP_INI_ALL</entry>
<entry>PHP_INI_SYSTEM in PHP 4. Available since PHP 4.1.0.</entry>
</row>
<row>
<entry>com.code_page</entry>
<entry>""</entry>
<entry>PHP_INI_ALL</entry>
<entry>Available since PHP 5.0.0.</entry>
</row>
<row>
<entry>com.typelib_file</entry>
<entry>""</entry>
<entry>PHP_INI_SYSTEM</entry>
<entry>Available since PHP 4.0.5.</entry>
</row>
</tbody>
</tgroup>
</table>
&ini.php.constants;
</para>
&ini.descriptions.title;
<para>
<variablelist>
<varlistentry xml:id="ini.com.allow-dcom">
<term>
<parameter>com.allow_dcom</parameter>
</term>
<listitem>
<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.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.com.autoregister-typelib">
<term>
<parameter>com.autoregister_typelib</parameter>
</term>
<listitem>
<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
<xref
linkend="ini.com.autoregister-casesensitive"/> configuration directive.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.com.autoregister-verbose">
<term>
<parameter>com.autoregister_verbose</parameter>
</term>
<listitem>
<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.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.com.autoregister-casesensitive">
<term>
<parameter>com.autoregister_casesensitive</parameter>
</term>
<listitem>
<para>
When this is turned on (the default), constants found in auto-loaded
type libraries will be registered case sensitively. See
<function>com_load_typelib</function> for more details.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.com.code-page">
<term>
<parameter>com.code_page</parameter>
</term>
<listitem>
<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 <constant>CP_ACP</constant>, which is the default
system ANSI code page.
</para>
<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 <xref
linkend="class.com"/> 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.
</para>
<note>
<simpara>
This configuration directive was introduced with PHP 5.
</simpara>
</note>
</listitem>
</varlistentry>
<varlistentry xml:id="ini.com.typelib-file">
<term>
<parameter>com.typelib_file</parameter>
</term>
<listitem>
<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 <function>com_load_typelib</function>.
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 <literal>#cis</literal> or <literal>#case_insensitive</literal>,
then the constants from that library will be registered case
insensitively.
</para>
</listitem>
</varlistentry>
</variablelist>
</para>
</section>
<!-- Keep this comment at the end of the file
Local variables:
mode: sgml
sgml-omittag:t
sgml-shorttag:t
sgml-minimize-attributes:nil
sgml-always-quote-attributes:t
sgml-indent-step:1
sgml-indent-data:t
indent-tabs-mode:nil
sgml-parent-document:nil
sgml-default-dtd-file:"../../../manual.ced"
sgml-exposed-tags:nil
sgml-local-catalogs:nil
sgml-local-ecat-files:nil
End:
vim600: syn=xml fen fdm=syntax fdl=2 si
vim: et tw=78 syn=sgml
vi: ts=1 sw=1
-->
|