From: imacat at mail dot imacat dot idv dot tw
Operating system: All
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: Typo "secondes" Still in php.ini
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 bug report at http://bugs.php.net/?id=38531&edit=1
--
Try a CVS snapshot (PHP 4.4):
http://bugs.php.net/fix.php?id=38531&r=trysnapshot44
Try a CVS snapshot (PHP 5.2):
http://bugs.php.net/fix.php?id=38531&r=trysnapshot52
Try a CVS snapshot (PHP 6.0):
http://bugs.php.net/fix.php?id=38531&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=38531&r=fixedcvs
Fixed in release:
http://bugs.php.net/fix.php?id=38531&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=38531&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=38531&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=38531&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=38531&r=support
Expected behavior: http://bugs.php.net/fix.php?id=38531&r=notwrong
Not enough info:
http://bugs.php.net/fix.php?id=38531&r=notenoughinfo
Submitted twice:
http://bugs.php.net/fix.php?id=38531&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=38531&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38531&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=38531&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=38531&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=38531&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=38531&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=38531&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=38531&r=mysqlcfg