When using XAMPP (1.7.5 Beta) under Windows 7 (Ultimate, version 6.1, build 7600), it takes a few seconds before the pages actually appear. During these seconds, the browser displays “Waiting for site.localhost.com ...” and Apache (httpd.exe, version 2.2.17) has a 99% load.
I 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, ":: 1 localhost" is commented out and "127.0.0.1 localhost" is uncommented.
- Done (via cmd): netsh; interface; portproxy; add v6tov4 listenport = 80 connectport = 80.
- Even disconnected IPv6 completely by following these instructions.
- The only place where "HostnameLookups" is set is in xampp \ apache \ conf \ httpd-default.conf, for: Off.
- I tried PHP in CGI mode, 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 a noticeable effect on speed. Does Apache have difficulty finding the destination host ('gethostbyname')? What else can I try to speed up?
source