#50356 [NEW]: mysql_connect timeout / server reset when executing as module
| From: | monochromec at gmail dot com | Date: | Tue, 01 Dec 2009 21:02:13 +0000 |
| Subject: | #50356 [NEW]: mysql_connect timeout / server reset when executing as module | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-145310@lists.php.net to get a copy of this message | ||
From: monochromec at gmail dot com
Operating system: Windows 7
PHP version: 5.2.11
PHP Bug Type: MySQL related
Bug description: mysql_connect timeout / server reset when executing as module
Description:
------------
When executing mysql_connect with 5.2.11 running as a module under Apache
2.2.14 on a Windows 7 platform, mysql_connect times out and the browser
reports "connection reset" or similar depending on the used browser. This
behaviour was first observed with phpMyAdmin 3.2.3 (file
library/dbi/mysql.dbi.lib.php, line 38). When changing the invocation type
from module to (f)cgi, the problem disappears. This behaviour is
reproducible with 5.3.1 (vc6-x86). MySQL is version 5.1, client side
5.0.51a (as reported by phpinfo).
Reproduce code:
---------------
Cf. mysql.dbi.lib.php
--
Edit bug report at http://bugs.php.net/?id=50356&edit=1
--
Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50356&r=trysnapshot52
Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50356&r=trysnapshot53
Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50356&r=trysnapshot60
Fixed in SVN: http://bugs.php.net/fix.php?id=50356&r=fixed
Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50356&r=needdocs
Fixed in release: http://bugs.php.net/fix.php?id=50356&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=50356&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=50356&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=50356&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=50356&r=support
Expected behavior: http://bugs.php.net/fix.php?id=50356&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=50356&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=50356&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=50356&r=globals
PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50356&r=php4
Daylight Savings: http://bugs.php.net/fix.php?id=50356&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=50356&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=50356&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=50356&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=50356&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=50356&r=mysqlcfg