|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2009-11-24 23:22 UTC] 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. PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 12:00:01 2025 UTC |
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!