Thanks for your support.
changing mysql_connect('localhost','root','') -> mysql_connect('127.0.0.1','root','') solved the problem. Everything opens instantly now. Forum: WampServer English
I just tested mysql using the console. the queries work really fast. so there seems to be no problem with the mysql also.
Next thing to be tested is apache but I don't know what to do to test it. Forum: WampServer English
I tested phpinfo on windows 8 wamp 2.2 it opens instantly. so there is nothing wrong with the php.
But when I try to load a page which connects to mysql it slows down.
The waiting time changes. sometimes it takes 20 seconds to refresh the page.
I hope we can find a solution for this. This is so painful while coding and testing a new webpage Forum: WampServer English