Patje Posted September 8, 2007 Share Posted September 8, 2007 Hello, I have two webhosts on the same server (www.knoth.nl). I've got a weird problem though. When I try to create a PHP file which establishes a socket connection between the server and another server, it's very slow on one of then. It takes approx 15 seconds to connect to the site, and return the data. The other webhost works FINE, and returns the data within 2 seconds. The slow one is using PHP version 5.2.1, and the fast one is using PHP version 4.4.7 (My hosting company installed them, when I bought them). As an example, I made a PHP file which establishes a socket connection with a site which shows the weather forcast (It's Dutch though) and it also shows the time it took to load the page. http://darkool.nl/weer.php http://mightscript.com/weer.php I have NO idea what the problem is. I don't think it's the server, since they're both on the same server. For more PHP info of those sites: http://darkool.nl/phpinfo.php http://mightscript.com/phpinfo.php Thanks in advance, Patrick. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.