When using XAMPP (1.7.5 Beta) under Windows 7 (Ultimate, version 6.1, build 7600), it takes several seconds before pages actually show up. During these seconds, the browser shows "Waiting for site.localhost.com..." and Apache (httpd.exe, version 2.2.17) has 99% CPU load.
I have already tried to speed things up in several ways:
- Uncommented "Win32DisableAcceptEx" in xampp\apache\conf\extra\httpd-mpm.conf
- Uncommented "EnableMMAP Off" and "EnableSendfile Off" in xampp\apache\conf\httpd.conf
- Disabled all firewall and antivirus software (Windows Defender/Windows Firewall, Norton AntiVirus).
- In the hosts file, commented out "::1 localhost" and uncommented "127.0.0.1 localhost".
- Executed (via cmd): netsh; interface; portproxy; add v6tov4 listenport=80 connectport=80.
- Even disabled IPv6 completely, by following these instructions.
- The only place where "HostnameLookups" is set, is in xampp\apache\conf\httpd-default.conf, to: Off.
- Tried PHP in CGI mode by commenting out (in httpd-xampp.conf): LoadFile "C:/xampp/php/php5ts.dll" and LoadModule php5_module modules/php5apache2_2.dll.
None of these possible solutions had any noticeable effect on the speed. Does Apache have difficulty trying to find the destination host ('gethostbyname')? What else could I try to speed things up?