IIS7.5 Web site access PHP slow response reason
The reason is PHP5.3 above support IPV6 protocol, but everyone's server is not used IPV6, when access to PHP will be connected to MySQL address is localhost, the system will first use IPV6 connection, but there is no IPv6 so wait until the IPv6 failed to go to IPv4 so around a lap speed of course slow.
Online said the god horse disabled IPv6 tried without any effect, and then use the official Microsoft IPv6 Disable tool still so, the following paste the correct solution my method doesn't necessarily apply to you but you might as well try
Because I felt strange when I was using ping localhost on the server, ":: 1"
IIS7.5 Web site access to PHP response slow workaround
Use software such as Notepad or EmEditor to open the Hosts file under C:\Windows\System32\drivers\etc.
Found it:
# 127.0.0.1 localhost
Modified to:
127.0.0.1 localhost
Save the Hosts file and try the results again?
Workaround for slow Iis+php+mysql access