192 |
- |
1 |
; Enable MySQL extension module
|
|
|
2 |
extension = mysql.so
|
|
|
3 |
|
|
|
4 |
; Allow accessing, from PHP's perspective, local files with LOAD DATA statements
|
|
|
5 |
; http://php.net/mysql.allow_local_infile
|
|
|
6 |
;mysql.allow_local_infile = On
|
|
|
7 |
|
|
|
8 |
; Allow or prevent persistent links.
|
|
|
9 |
; http://php.net/mysql.allow-persistent
|
|
|
10 |
;mysql.allow_persistent = On
|
|
|
11 |
|
|
|
12 |
; Maximum number of persistent links. -1 means no limit.
|
|
|
13 |
; http://php.net/mysql.max-persistent
|
|
|
14 |
;mysql.max_persistent = -1
|
|
|
15 |
|
|
|
16 |
; Maximum number of links (persistent + non-persistent). -1 means no limit.
|
|
|
17 |
; http://php.net/mysql.max-links
|
|
|
18 |
;mysql.max_links = -1
|
|
|
19 |
|
|
|
20 |
; Default port number for mysql_connect(). If unset, mysql_connect() will use
|
|
|
21 |
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
|
|
|
22 |
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
|
|
|
23 |
; at MYSQL_PORT.
|
|
|
24 |
; http://php.net/mysql.default-port
|
|
|
25 |
;mysql.default_port =
|
|
|
26 |
|
|
|
27 |
; Default socket name for local MySQL connects. If empty, uses the built-in
|
|
|
28 |
; MySQL defaults.
|
|
|
29 |
; http://php.net/mysql.default-socket
|
|
|
30 |
;mysql.default_socket = '/var/lib/mysql/mysql.sock'
|
|
|
31 |
|
|
|
32 |
; Default host for mysql_connect() (doesn't apply in safe mode).
|
|
|
33 |
; http://php.net/mysql.default-host
|
|
|
34 |
;mysql.default_host =
|
|
|
35 |
|
|
|
36 |
; Default user for mysql_connect() (doesn't apply in safe mode).
|
|
|
37 |
; http://php.net/mysql.default-user
|
|
|
38 |
;mysql.default_user =
|
|
|
39 |
|
|
|
40 |
; Default password for mysql_connect() (doesn't apply in safe mode).
|
|
|
41 |
; Note that this is generally a *bad* idea to store passwords in this file.
|
|
|
42 |
; *Any* user with PHP access can run 'echo get_cfg_var("mysql.default_password")
|
|
|
43 |
; and reveal this password! And of course, any users with read access to this
|
|
|
44 |
; file will be able to reveal the password as well.
|
|
|
45 |
; http://php.net/mysql.default-password
|
|
|
46 |
;mysql.default_password =
|
|
|
47 |
|
|
|
48 |
; Maximum time (in seconds) for connect timeout. -1 means no limit
|
|
|
49 |
; http://php.net/mysql.connect-timeout
|
|
|
50 |
;mysql.connect_timeout = 60
|
|
|
51 |
|
|
|
52 |
; Trace mode. When trace_mode is active (=On), warnings for table/index scans and
|
|
|
53 |
; SQL-Errors will be displayed.
|
|
|
54 |
; http://php.net/mysql.trace-mode
|
|
|
55 |
;mysql.trace_mode = Off
|