Your problem has nothing to do with PHP, if you check your page with "Firebig" (Firefox add-on), you will find that some static files take long time to load. I believe which should because of network or firewall issue.
You need to find out where is your problem first, so disabling each of your...