XAMPP on Win7 too slow
If XAMP is slow under windows 7, the firewall settings make no difference.
The Security Essentials anti-virus makes no difference.
To solve this problem, the two things that make a big difference are:
1) in windows\system32\drivers\etc\hosts add the following lines:
127.0.0.1 127.0.0.1
127.0.0.1 localhost
2) If you're using PHP, in the XAMP php.ini file uncomment the eaccelerator line:
zend_extension = "C:\xampp\php\ext\php_eaccelerator_ts.dll"
After these two changes, restart Apache and it will be way faster.
Not sure this might be the cause of your problems, but this might be an idea : do you have a line that looks like this :
::1 localhost
in your hosts (it should be somewhere like C:\WINDOWS\system32\drivers\etc\hosts
, if I remember correctly) file ?
If yes, comment that line by adding a #
at the beginning.
This way, the only line that's about localhost should be
127.0.0.1 localhost
which is an IPv4 address ; and the one you commented being an IPv6 -- which is quite not useful for what you are trying to do.
As I said, not sure your problem is related to this, but I've seen this sugestion help a couple of times for problems quite similar to your (i.e. waiting a long time before doing anything on the server).
Comment the lines in PHP.ini with XDEBUG:
;[XDebug] ;zend_extension = "C:\xampp\php\ext\php_xdebug.dll" ;xdebug.profiler_append = 0 ;xdebug.profiler_enable = 1 ;xdebug.profiler_enable_trigger = 0 ;xdebug.profiler_output_dir = "C:\xampp\tmp" ;xdebug.profiler_output_name = "cachegrind.out.%t-%s" ;xdebug.remote_enable = 0 ;xdebug.remote_handler = "dbgp" ;debug.remote_host = "127.0.0.1" ;xdebug.trace_output_dir = "C:\xampp\tmp"
I disabled Bitdefeender -> no result I added lines to hosts -> no result I disabled xdebug - x2-x3 faster
Best regards Barto