Skip to content

Commit

Permalink
Merge pull request #10 from habitullence/master
Browse files Browse the repository at this point in the history
Default mysql socket to boxen mysql socket path.
  • Loading branch information
mattheath committed Aug 8, 2013
2 parents 0efe600 + cdc9ba3 commit 78c0a22
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/php.ini.erb
Original file line number Diff line number Diff line change
Expand Up @@ -1013,7 +1013,7 @@ pdo_mysql.cache_size = 2000
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/pdo_mysql.default-socket
pdo_mysql.default_socket=
pdo_mysql.default_socket=<%= scope.lookupvar('::mysql::config::socket') %>

[Phar]
; http://php.net/phar.readonly
Expand Down Expand Up @@ -1167,7 +1167,7 @@ mysql.default_port =
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysql.default-socket
mysql.default_socket =
mysql.default_socket =<%= scope.lookupvar('::mysql::config::socket') %>

; Default host for mysql_connect() (doesn't apply in safe mode).
; http://php.net/mysql.default-host
Expand Down Expand Up @@ -1226,7 +1226,7 @@ mysqli.default_port = 3306
; Default socket name for local MySQL connects. If empty, uses the built-in
; MySQL defaults.
; http://php.net/mysqli.default-socket
mysqli.default_socket =
mysqli.default_socket =<%= scope.lookupvar('::mysql::config::socket') %>

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

0 comments on commit 78c0a22

Please sign in to comment.