Oracle 5.0 Reference Manual page 2259

Table of Contents

Advertisement

20.7.2.1.3. Runtime Configuration
Copyright 1997-2012 the PHP Documentation Group. [2230]
The behaviour of these functions is affected by settings in php.ini.
Table 20.33. MySQL Configuration Options
Name
mysql.allow_local_infile
mysql.allow_persistent
mysql.max_persistent
mysql.max_links
mysql.trace_mode
mysql.default_port
mysql.default_socket
mysql.default_host
mysql.default_user
mysql.default_password
mysql.connect_timeout
For further details and definitions of the PHP_INI_* modes, see the
configuration.changes.modes.
Here's a short explanation of the configuration directives.
mysql.allow_local_infile
integer
mysql.allow_persistent
boolean
mysql.max_persistent
integer
mysql.max_links
mysql.trace_mode
mysql.default_port
Original MySQL API (Mysql)
Note
If you need charsets other than latin (default), you have to install external (not
bundled) libmysqlclient with compiled charset support.
Default
"1"
"1"
"-1"
"-1"
"0"
NULL
NULL
NULL
NULL
NULL
"60"
Allow accessing, from PHP's perspective, local files with LOAD
DATA statements
Whether to allow
The maximum number of persistent MySQL connections per
process.
integer
The maximum number of MySQL connections per process,
including persistent connections.
boolean
Trace mode. When
for table/index scans, non free result sets, and SQL-Errors will be
displayed. (Introduced in PHP 4.3.0)
string
The default TCP port number to use when connecting to the
database server if no other port is specified. If no default is
specified, the port will be obtained from the
environment variable, the
the compile-time
only use the
Changeable
PHP_INI_SYSTEM
PHP_INI_SYSTEM
PHP_INI_SYSTEM
PHP_INI_SYSTEM
PHP_INI_ALL
PHP_INI_ALL
PHP_INI_ALL
PHP_INI_ALL
PHP_INI_ALL
PHP_INI_ALL
PHP_INI_ALL
persistent connections
mysql.trace_mode
mysql-tcp
MYSQL_PORT
constant.
MYSQL_PORT
2239
Changelog
Available since PHP
4.3.0.
Available since PHP
4.0.1.
PHP_INI_SYSTEM in
PHP <= 4.3.2. Available
since PHP 4.3.0.
http://www.php.net/manual/en/
to MySQL.
is enabled, warnings
MYSQL_TCP_PORT
entry in
/etc/services
constant, in that order. Win32 will
or

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents