ID: 50356 Updated by: paj...@php.net Reported By: monochromec at gmail dot com -Status: Open +Status: Feedback Bug Type: MySQL related Operating System: Windows 7 PHP Version: 5.2.11 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If the script requires a database to demonstrate the issue, please make sure it creates all necessary tables, stored procedures etc. Please avoid embedding huge scripts into the report. Previous Comments: ------------------------------------------------------------------------ [2009-12-01 21:02:12] monochromec at gmail dot com 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 this bug report at http://bugs.php.net/?id=50356&edit=1