Skip to content
Permalink
Browse files

s/mysql_connect()/mysqli_connect() in php.ini

  • Loading branch information...
nikic committed Apr 15, 2019
1 parent a83b68b commit 9a85a944d8ed79a9f006873be5c5f762e037ccbf
Showing with 4 additions and 4 deletions.
  1. +2 −2 php.ini-development
  2. +2 −2 php.ini-production
@@ -1186,11 +1186,11 @@ mysqli.default_port = 3306
; http://php.net/mysqli.default-socket
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
; Default host for mysqli_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-host
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
; Default user for mysqli_connect() (doesn't apply in safe mode).
; http://php.net/mysqli.default-user
mysqli.default_user =

@@ -1193,11 +1193,11 @@ mysqli.default_port = 3306
; http://php.net/mysqli.default-socket
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
; Default host for mysql_iconnect() (doesn't apply in safe mode).

This comment has been minimized.

Copy link
@twose

twose Apr 17, 2019

Contributor

@nikic typo error?

This comment has been minimized.

Copy link
@carusogabriel

carusogabriel Apr 17, 2019

Member

Fixed via 825fc6b in PHP-7.4 and master. Thanks!

This comment has been minimized.

Copy link
@nikic

nikic Apr 17, 2019

Author Member

Thanks for fixing this :) I should be able to make a single character change correctly...

; http://php.net/mysqli.default-host
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
; Default user for mysql_iconnect() (doesn't apply in safe mode).

This comment has been minimized.

Copy link
@staabm

staabm Apr 17, 2019

Contributor

same here

; http://php.net/mysqli.default-user
mysqli.default_user =

0 comments on commit 9a85a94

Please sign in to comment.
You can’t perform that action at this time.