From cc1a86df68501a3e0d8c36bd600a7589aa0cc6cf Mon Sep 17 00:00:00 2001 From: Jakub Vrana Date: Fri, 20 Nov 2009 10:42:26 +0000 Subject: [PATCH] Document mysqli.reconnect (bug #47190) git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@291057 c90b9560-bf6c-de11-be94-00142212c4b1 --- reference/mysqli/ini.xml | 57 +++++++++++++++++++++++++++++++- reference/mysqli/mysqli/ping.xml | 3 +- 2 files changed, 58 insertions(+), 2 deletions(-) diff --git a/reference/mysqli/ini.xml b/reference/mysqli/ini.xml index 9f6e264805..5141eaf4cd 100644 --- a/reference/mysqli/ini.xml +++ b/reference/mysqli/ini.xml @@ -64,6 +64,24 @@ PHP_INI_ALL Available since PHP 5.0.0. + + mysqli.reconnect + "0" + PHP_INI_SYSTEM + Available since PHP 4.3.5. + + + mysqli.allow_local_infile + "1" + PHP_INI_SYSTEM + Available since PHP 5.2.4. + + + mysqli.cache_size + "2000" + PHP_INI_SYSTEM + Available since PHP 5.3.0. + @@ -116,7 +134,7 @@ mysqli.default_port - string + integer @@ -185,6 +203,43 @@ + + + + mysqli.reconnect + integer + + + + Automatically reconnect if the connection was lost. + + + + + + + mysqli.allow_local_infile + integer + + + + + + + + + + + mysqli.cache_size + integer + + + + &mysqli.available.mysqlnd; + + + + diff --git a/reference/mysqli/mysqli/ping.xml b/reference/mysqli/mysqli/ping.xml index 853427bc2b..bc3d41e4e2 100644 --- a/reference/mysqli/mysqli/ping.xml +++ b/reference/mysqli/mysqli/ping.xml @@ -21,7 +21,8 @@ Checks whether the connection to the server is working. If it has gone - down, and global option mysqli.reconnect is enabled + down, and global option mysqli.reconnect is enabled an automatic reconnection is attempted.