i recently upgraded from PHP 5.3.0 to 5.3.2 and now all of my scripts that use mySQL are simply hanging when run. i am using the latest version of mySQL (version 5.1.45) and Apache (version 2.2.15) running on a fully patched Win7 intsall. the output from phpinfo() reports that both mySQL and mySQLnd a both loaded correctly. my php.ini points to the proper extension directory and extension = php_mysql.dll is set properly. this same problem exists in PHP 5.3.1 but PHP 5.3.0 works fine. i have read that there were changes starting with PHP 5.3.x regarding the mySQL native driver but again it appears that the extension is loading correctly. any ideas? thanks.
my problem appears to be this bug
Did this suggested solution work for you?
A simple workaround is to uncomment/add this line to the host file: 127.0.0.1 localhost
EDIT: A quicker test might be to switch "localhost" to "127.0.0.1" in your PHP scripts.
yes. modifying C:\Windows\System32\drivers\etc solved the problem.