PHP MySQL queries slow on localhost

2014-07-07

To resolve that issue add the following line to your hosts file.

127.0.0.1   localhost