ID:               50290
 Comment by:       bramus at bram dot us
 Reported By:      praveen at aexea dot net
 Status:           No Feedback
 Bug Type:         MySQL related
 Operating System: vista business
 PHP Version:      5.3.1
 Assigned To:      mysql
 New Comment:

Same issue here (PHP 5.3.1 as a  fastcgi module in IIS7). Getting
timeouts and HTTP 500 codes whenever I encounter a script that wants to
connect to a MySQL server.

Internal logging of my app tells me that the mysql(i)_connect function
fails: "Could not connect. A connection attempt failed because the
connected party did not properly respond after a period of time, or
established connection failed because connected host has failed to
respond."

After reverting to an older version of PHP (pre 5.3.1) all works fine
again.

@pajoye: sample code is really simple:
<?php

// this will fail in PHP 5.3.1 on IIS7 (fastcgi) even though the DB
server is up and the credentials are fine - Internal Server Error will
be spawn.
mysqli_connect('localhost', 'username', 'pass'); 

?>

Hope this helps.

Regards,
Bramus!


Previous Comments:
------------------------------------------------------------------------

[2009-12-03 01:00:00] php-bugs at lists dot php dot net

No feedback was provided for this bug for over a week, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".

------------------------------------------------------------------------

[2009-11-27 12:33:25] avivahl at gmail dot com

Probably related to: http://bugs.php.net/bug.php?id=50172

------------------------------------------------------------------------

[2009-11-25 06:44:57] [email protected]

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.



------------------------------------------------------------------------

[2009-11-24 23:22:18] praveen at aexea dot net

Description:
------------
When upgraded php from 5.3.0 to latest 5.3.1 on IIS7 - Fast-CGI (vista

business) edition. IIS7-fast cgi times out when any page is accessed 
which have mysql functions.

All other things are working fine, problem is only with pages which use

mysql.



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=50290&edit=1

Reply via email to