Workaround for slow Iis+php+mysql access

Source: Internet
Author: User

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

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.