锟斤拷些锟斤拷锟斤拷锟斤拷锟斤拷为锟斤拷 php.ini 锟叫碉拷锟斤拷锟斤拷影锟届。
锟斤拷锟斤拷 | 默锟斤拷 | 锟斤拷锟睫改凤拷围 | 锟斤拷锟斤拷锟斤拷志 |
---|---|---|---|
com.allow_dcom | "0" | PHP_INI_SYSTEM | 锟斤拷 PHP 4.0.5 锟斤拷锟斤拷锟� |
com.autoregister_typelib | "0" | PHP_INI_ALL | 锟斤拷 PHP 4 锟斤拷锟斤拷 PHP_INI_SYSTEM锟斤拷锟斤拷 PHP 4.1.0 锟斤拷锟斤拷锟� |
com.autoregister_verbose | "0" | PHP_INI_ALL | 锟斤拷 PHP 4 锟斤拷锟斤拷 PHP_INI_SYSTEM锟斤拷锟斤拷 PHP 4.1.0 锟斤拷锟斤拷锟� |
com.autoregister_casesensitive | "1" | PHP_INI_ALL | 锟斤拷 PHP 4 锟斤拷锟斤拷 PHP_INI_SYSTEM锟斤拷锟斤拷 PHP 4.1.0 锟斤拷锟斤拷锟� |
com.code_page | "" | PHP_INI_ALL | 锟斤拷 PHP 5.0.0 锟斤拷锟斤拷锟� |
com.typelib_file | "" | PHP_INI_SYSTEM | 锟斤拷 PHP 4.0.5 锟斤拷锟斤拷锟� |
锟斤拷锟斤拷锟斤拷锟斤拷指锟斤拷募锟斤拷说锟斤拷锟斤拷
com.allow_dcom
锟斤拷锟斤拷蚩锟窖★拷睿琍HP 锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷一锟斤拷 D-COM锟斤拷Distributed COM锟斤拷锟酵伙拷锟斤拷式锟斤拷锟斤拷锟斤拷锟斤拷锟斤拷 PHP 锟脚憋拷锟斤拷远锟教凤拷锟斤拷锟斤拷锟斤拷实锟斤拷锟斤拷 COM 锟斤拷锟斤拷
com.autoregister_typelib
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 configuration directive.
com.autoregister_verbose
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.
com.autoregister_casesensitive
When this is turned on (the default), constants found in auto-loaded type libraries will be registered case sensitively. See com_load_typelib() for more details.
com.code_page
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 CP_ACP
, which is the default
system ANSI code page.
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 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.
Note: This configuration directive was introduced with PHP 5.
com.typelib_file
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 com_load_typelib(). 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 #cis or #case_insensitive, then the constants from that library will be registered case insensitively.