#50862 [NEW]: php timeout < mysql timeout
| From: | hajo at clansphere dot de | Date: | Wed, 27 Jan 2010 14:33:09 +0000 |
| Subject: | #50862 [NEW]: php timeout < mysql timeout | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-146996@lists.php.net to get a copy of this message | ||
From: hajo at clansphere dot de
Operating system: Windows (any)
PHP version: 5.3.2RC1
PHP Bug Type: *Configuration Issues
Bug description: php timeout < mysql timeout
Description:
------------
does it make sense to have the following values for those two settings in
the default configuration? took me some time to figure out this caused some
unexpected errors while i had to setup a new php testing environment.
please consider changing the default php.ini settings for the production-
and development-example shipped with php-downloads.
Reproduce code:
---------------
max_execution_time = 30
mysql.connect_timeout = 60
Expected result:
----------------
the mysql.connect_timeout should be e.g. 10 or 20 seconds. compared to
what it is for mssql.connect_timeout (5 by default) that should be enough
and show an mysql timeout error.
Actual result:
--------------
php errors that inform about a timeout in php error functions / error
handler or something similar to this
--
Edit bug report at http://bugs.php.net/?id=50862&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50862&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50862&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50862&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50862&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50862&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50862&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50862&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50862&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50862&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50862&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50862&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50862&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50862&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50862&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50862&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50862&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50862&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50862&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50862&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50862&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50862&r=mysqlcfg