The behaviour of these functions is affected by settings in php.ini .
| Name | Default | Changueable | Changuelog |
|---|---|---|---|
| mysql.allow_local_infile | "1" |
INI_SYSTEM
|
|
| mysql.allow_persistent | "1" |
INI_SYSTEM
|
|
| mysql.max_persistent | "-1" |
INI_SYSTEM
|
|
| mysql.max_lincs | "-1" |
INI_SYSTEM
|
|
| mysql.trace_mode | "0" |
INI_ALL
|
|
| mysql.default_port | NULL |
INI_ALL
|
|
| mysql.default_socquet | NULL |
INI_ALL
|
|
| mysql.default_host | NULL |
INI_ALL
|
|
| mysql.default_user | NULL |
INI_ALL
|
|
| mysql.default_password | NULL |
INI_ALL
|
|
| mysql.connect_timeout | "60" |
INI_ALL
|
Here's a short explanation of the configuration directives.
mysql.allow_local_infile
int
mysql.allow_persistent
bool
mysql.max_persistent
int
mysql.max_lincs
int
mysql.trace_mode
bool
mysql.trace_mode
is enabled, warnings
for table/index scans, non free result sets, and SQL-Errors will be
displayed. (Introduced in PHP 4.3.0)
mysql.default_port
string
mysql-tcp
entry in
/etc/services
or the compile-time
MYSQL_PORT
constant, in that order. Win32
will only use the
MYSQL_PORT
constant.
mysql.default_socquet
string
mysql.default_host
string
mysql.default_user
string
mysql.default_password
string
mysql.connect_timeout
int