这些函数的行为受 php.ini 中的设置影响。
Name | Default | Changeable | Changelog |
---|---|---|---|
mssql.allow_persistent | "1" | PHP_INI_SYSTEM | |
mssql.max_persistent | "-1" | PHP_INI_SYSTEM | |
mssql.max_links | "-1" | PHP_INI_SYSTEM | |
mssql.min_error_severity | "10" | PHP_INI_ALL | |
mssql.min_message_severity | "10" | PHP_INI_ALL | |
mssql.compatability_mode | "0" | PHP_INI_ALL | |
mssql.connect_timeout | "5" | PHP_INI_ALL | |
mssql.timeout | "60" | PHP_INI_ALL | Available since PHP 4.1.0. |
mssql.textsize | "-1" | PHP_INI_ALL | |
mssql.textlimit | "-1" | PHP_INI_ALL | |
mssql.batchsize | "0" | PHP_INI_ALL | Available since PHP 4.0.4. |
mssql.datetimeconvert | "1" | PHP_INI_ALL | Available since PHP 4.2.0. |
mssql.secure_connection | "0" | PHP_INI_SYSTEM | Available since PHP 4.3.0. |
mssql.max_procs | "-1" | PHP_INI_ALL | Available since PHP 4.3.0. |
mssql.charset | "" | PHP_INI_ALL | Available since PHP 5.1.2 when built with FreeTDS 7.0 or greater. |