Skip to content

Commit 71edfd7

Browse files
Remove incorrect information from INI (#17020)
1 parent e36dea0 commit 71edfd7

File tree

2 files changed

+8
-14
lines changed

2 files changed

+8
-14
lines changed

php.ini-development

+4-7
Original file line numberDiff line numberDiff line change
@@ -1158,10 +1158,7 @@ mysqli.allow_persistent = On
11581158
; https://php.net/mysqli.max-links
11591159
mysqli.max_links = -1
11601160

1161-
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1162-
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1163-
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1164-
; at MYSQL_PORT.
1161+
; Default port number for mysqli_connect().
11651162
; https://php.net/mysqli.default-port
11661163
mysqli.default_port = 3306
11671164

@@ -1170,15 +1167,15 @@ mysqli.default_port = 3306
11701167
; https://php.net/mysqli.default-socket
11711168
mysqli.default_socket =
11721169

1173-
; Default host for mysqli_connect() (doesn't apply in safe mode).
1170+
; Default host for mysqli_connect().
11741171
; https://php.net/mysqli.default-host
11751172
mysqli.default_host =
11761173

1177-
; Default user for mysqli_connect() (doesn't apply in safe mode).
1174+
; Default user for mysqli_connect().
11781175
; https://php.net/mysqli.default-user
11791176
mysqli.default_user =
11801177

1181-
; Default password for mysqli_connect() (doesn't apply in safe mode).
1178+
; Default password for mysqli_connect().
11821179
; Note that this is generally a *bad* idea to store passwords in this file.
11831180
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
11841181
; and reveal this password! And of course, any users with read access to this

php.ini-production

+4-7
Original file line numberDiff line numberDiff line change
@@ -1160,10 +1160,7 @@ mysqli.allow_persistent = On
11601160
; https://php.net/mysqli.max-links
11611161
mysqli.max_links = -1
11621162

1163-
; Default port number for mysqli_connect(). If unset, mysqli_connect() will use
1164-
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
1165-
; compile-time value defined MYSQL_PORT (in that order). Win32 will only look
1166-
; at MYSQL_PORT.
1163+
; Default port number for mysqli_connect().
11671164
; https://php.net/mysqli.default-port
11681165
mysqli.default_port = 3306
11691166

@@ -1172,15 +1169,15 @@ mysqli.default_port = 3306
11721169
; https://php.net/mysqli.default-socket
11731170
mysqli.default_socket =
11741171

1175-
; Default host for mysqli_connect() (doesn't apply in safe mode).
1172+
; Default host for mysqli_connect().
11761173
; https://php.net/mysqli.default-host
11771174
mysqli.default_host =
11781175

1179-
; Default user for mysqli_connect() (doesn't apply in safe mode).
1176+
; Default user for mysqli_connect().
11801177
; https://php.net/mysqli.default-user
11811178
mysqli.default_user =
11821179

1183-
; Default password for mysqli_connect() (doesn't apply in safe mode).
1180+
; Default password for mysqli_connect().
11841181
; Note that this is generally a *bad* idea to store passwords in this file.
11851182
; *Any* user with PHP access can run 'echo get_cfg_var("mysqli.default_pw")
11861183
; and reveal this password! And of course, any users with read access to this

0 commit comments

Comments
 (0)