summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--php.ini-dist3
-rw-r--r--php.ini-recommended3
2 files changed, 6 insertions, 0 deletions
diff --git a/php.ini-dist b/php.ini-dist
index 953125b9aa..d3ebc6357f 100644
--- a/php.ini-dist
+++ b/php.ini-dist
@@ -603,6 +603,9 @@ mysql.default_user =
; file will be able to reveal the password as well.
mysql.default_password =
+; Maximum time (in secondes) for connect timeout. -1 means no limimt
+mysql.connect_timeout = -1
+
[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On
diff --git a/php.ini-recommended b/php.ini-recommended
index 6b2422fa2a..2cc3ca1b57 100644
--- a/php.ini-recommended
+++ b/php.ini-recommended
@@ -608,6 +608,9 @@ mysql.default_user =
; file will be able to reveal the password as well.
mysql.default_password =
+; Maximum time (in secondes) for connect timeout. -1 means no limimt
+mysql.connect_timeout = -1
+
[mSQL]
; Allow or prevent persistent links.
msql.allow_persistent = On