|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-09-03 11:40 UTC] nlopess@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 19 15:00:02 2025 UTC |
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-----