Hamzeh Posted November 24, 2009 Share Posted November 24, 2009 Hi. I have a big problem. I have installed IIS before. Then I uninstalled IIS to install WampServer. WampServer installed. But "localhost" not working and the WampServer is always offline. Then I tried EasyPHP, XAMPP, AppServ, and others. But they have same problem. Localhost/127.0.0.1 doesn't work. Port 80 is not busy. I don't know what should I do? Does IIS damaged windows registry or localhost? Do I need to install Windows again? Please help me. Quote Link to comment Share on other sites More sharing options...
cags Posted November 24, 2009 Share Posted November 24, 2009 Check your hosts file (c:\windows\system32\drivers\etc\hosts) and make sure it has localhost as 127.0.0.1 Then ensure you no longer have ANY server software installed (check Add/Remove programs for all of them) also check running services (type services.msc into the run dialog). Restart Windows. Once everything is definately removed choose which one you wish to use and start from scratch. Quote Link to comment Share on other sites More sharing options...
dgoosens Posted November 24, 2009 Share Posted November 24, 2009 I think the service is still active... and blocking port 80 Â if you can't find what goes wrong... you can always set another port for Apache for instance :8080 Quote Link to comment Share on other sites More sharing options...
Hamzeh Posted November 24, 2009 Author Share Posted November 24, 2009 Check your hosts file (c:\windows\system32\drivers\etc\hosts) and make sure it has localhost as 127.0.0.1 Then ensure you no longer have ANY server software installed (check Add/Remove programs for all of them) also check running services (type services.msc into the run dialog). Restart Windows. Once everything is definately removed choose which one you wish to use and start from scratch. Â Which services must be disabled? Quote Link to comment Share on other sites More sharing options...
Hamzeh Posted November 24, 2009 Author Share Posted November 24, 2009 I think the service is still active... and blocking port 80 Â if you can't find what goes wrong... you can always set another port for Apache for instance :8080 Â I'm amateur in working with WAMPs. How can I do this? Quote Link to comment Share on other sites More sharing options...
Hamzeh Posted November 24, 2009 Author Share Posted November 24, 2009 I did what you said. "http://localhost/xampp/" worked well. But it's not fast as I expected. A question: What are the "Svc" checkboxes in the XAMPP Control Panel? Quote Link to comment Share on other sites More sharing options...
Mchl Posted November 24, 2009 Share Posted November 24, 2009 Do you use Skype? Quote Link to comment Share on other sites More sharing options...
Hamzeh Posted November 24, 2009 Author Share Posted November 24, 2009 localhost/127.0.0.1 worked. But how can I test PHP? Quote Link to comment Share on other sites More sharing options...
cags Posted November 24, 2009 Share Posted November 24, 2009 Which did you install in the end? Xampp? If so simply place a PHP file into c:\xampp\htdocs\ (that's default, if you've changed it, then hopefully you know what to) then open the browser and go to http://localhost/nameofscript.php 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.