trjohnpeat Posted June 21, 2010 Report Share Posted June 21, 2010 I'm attempting to move from 4.3(Mona) on Windows XP to 5.6.7(Nano) on Windows7 but I've run into a few snags. The first one was the "LOCALHOST" not working for MYSQL bug which has been reported here before - replacing references to "LOCALHOST" with "127.0.0.1" works fine. The next problem relates to using CURL in PHP. It seems there's no DNS resolution for CURL so it cannot connect to any external websites by name - only by IP. I suspect these issues are related - something in W7 is blocking access to DNS resolution in some way?? All I've tried thusfar is disabling the Windows Firewall and that makes no difference so I'm open to suggestions. Quote Link to comment Share on other sites More sharing options...
Ric Posted June 21, 2010 Report Share Posted June 21, 2010 The two issues are unrelated.MySQL localhost replace with "127.0.0.1" is the preferred solution for W7. Since CURL works with an IP address your server is working correctly.I agree with you it looks like a W7 DNS resolution issue. I have no idea how to resolve it perhaps this link may be of use:http://social.technet.microsoft.com/Forums...98-80cf211878d7 All the bestRic :angry: Quote Link to comment Share on other sites More sharing options...
trjohnpeat Posted June 21, 2010 Author Report Share Posted June 21, 2010 I should emphasise the PC has no problems connecting to and using DNS for everything else - it's only CURL within PHP which seems unable to resolve servernames. PHP's own file_get_contents() works fine so it's clearly a specific issue somewhere??? Quote Link to comment Share on other sites More sharing options...
Ric Posted June 21, 2010 Report Share Posted June 21, 2010 OK run server statusCheck the first line; is an IP address displayed.All the bestRic :angry: Quote Link to comment Share on other sites More sharing options...
trjohnpeat Posted June 23, 2010 Author Report Share Posted June 23, 2010 OK run server statusCheck the first line; is an IP address displayed.All the bestRic Yup - it is. It also seems that either a reinstall or restart (I did both) has resolved this - although I've had a couple of "could not connect" errors since, nothing which didn't go away on a reload... Thanks for the help! 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.