Table of Content
MySQL don't work with php 5.3.1 and 5.3.2
Windows build of php > 5.3.0 (currently 5.3.1 and 5.3.2) have an issue with IPv6 and MySQL.
If your localhost is defined as ::1 (ping localhost to check), mysql driver freeze making this error appear in nginx log :
2010/06/17 16:11:25 [error] 5660#5420: *36 upstream timed out (10060: FormatMessage() error:(15105)) while reading response header from upstream, client: 127.0.0.1, server: localhost, request: "GET /index.php HTTP/1.1", upstream: " fastcgi://127.0.0.1:9000", host: "localhost"
You can workaround this bug my creating an entry in host file and force mapping of localhost to 127.0.0.1.
Problem and solution found by Vincent Eberhardt, thanks to him.