XAMPP / WAMP / whatever it is: Apache is running super slow
apache, wamp, wampserver, xampp
Solution
Here's a solution that really worked for me.
One thing to try is changing the following two entries in `apache/conf/httpd.conf` from `OFF` to `ON`:
EnableMMAP on
EnableSendfile on
Also, enable and set `realpath_cache_size= 4m` to your `php.ini` file.
If your are using InnoDB database also enable and set in `my.ini`:
innodb_flush_log_at_trx_commit = 2
Finally, it seems it worked for some people: edit your host (`C:\Windows\System32\drivers\etc\hosts`) by adding
127.0.0.1 localhost
127.0.0.1 127.0.0.1
And commenting:
\# ::1 localhost
Problem
I've got my Windows PC (localhost) running XAMPP. It loads the pages sometimes really quick or sometimes really slow. So, I figured and searched and was recommended to get WAMP. I got that and installed it. Still, the pages load so damn slowly. No heavy CPU load or anything, all my ports are open too. Any ideas?