ID:               38531
 Updated by:       [EMAIL PROTECTED]
 Reported By:      imacat at mail dot imacat dot idv dot tw
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: All
 PHP Version:      Irrelevant
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.


Previous Comments:
------------------------------------------------------------------------

[2006-08-21 04:27:45] imacat at mail dot imacat dot idv dot tw

Description:
------------
    It seems that Bug #29641 has never been fixed in PHP 5 source.  It
is only fixed in PHP 4 source.  In both php.ini-dist and
php.ini-recommended in the latest PHP 5.1.5 source,

; Maximum time (in secondes) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

    should be

; Maximum time (in seconds) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

    unless there is a reason to write French here.  The latest PHP 4
source (4.4.3) does not suffer from this.

    I've made a simple patch that should help.  Please tell me if you
need more information.  Thank you.

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

diff -u -r php-5.1.5.orig/php.ini-dist php-5.1.5/php.ini-dist
- --- php-5.1.5.orig/php.ini-dist       2006-08-15 02:40:19.000000000 +0800
+++ php-5.1.5/php.ini-dist      2006-08-21 11:57:53.000000000 +0800
@@ -703,7 +703,7 @@
 ; file will be able to reveal the password as well.
 mysql.default_password =
 
- -; Maximum time (in secondes) for connect timeout. -1 means no limit
+; Maximum time (in seconds) for connect timeout. -1 means no limit
 mysql.connect_timeout = 60
 
 ; Trace mode. When trace_mode is active (=On), warnings for
table/index scans and
diff -u -r php-5.1.5.orig/php.ini-recommended
php-5.1.5/php.ini-recommended
- --- php-5.1.5.orig/php.ini-recommended        2006-08-15 02:40:19.000000000
+0800
+++ php-5.1.5/php.ini-recommended       2006-08-21 11:57:49.000000000 +0800
@@ -761,7 +761,7 @@
 ; file will be able to reveal the password as well.
 mysql.default_password =
 
- -; Maximum time (in secondes) for connect timeout. -1 means no limit
+; Maximum time (in seconds) for connect timeout. -1 means no limit
 mysql.connect_timeout = 60
 
 ; Trace mode. When trace_mode is active (=On), warnings for
table/index scans and
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)

iD8DBQFE6TKei9gubzC5S1wRAuhKAJ4m6LrPWoIKjy5xE01/XTG846hyuwCfeV5f
BmvijAXjZ6AOlp/4iQBAs3s=
=6oQ1
-----END PGP SIGNATURE-----




------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=38531&edit=1

Reply via email to