问题
I recently tried installing WAMP but found that none of the pages will load. It also has an orange W logo, if that means anything. It does say (Tray Icon) that the WAMPserver is online though. I also did some research and found that Skype may cause problems and I removed the Use port 80 and 443 as alternatives for incoming connections option, but it still won't work. I get the following screen in my Chrome browser, any ideas?
EDIT: After further research I found that something may have gone wrong with the installation and Skype. I don't know how this happened but after a re-instillation everything worked fine. Thanks for your guy's help.
回答1:
The orange logo indicates that at least one service failed to start. You might try the following to troubleshoot the underlying reason:
Check that the Apache service is running. Left-click the WAMP tray icon and check that under
Apache > Service
, the option to start the service is disabled/grayed out. If not, your Apache service isn't running and that's the cause.Check the port Apache is listening on. Again. left-click the WAMP icon,
Apache > httpd.conf
should open the configuration. Look for theListen XX
directive and note what the value forXX
is. If not80
, you should use the urlhttp://localhost:XX
instead.If the value for
Listen
was indeed80
, you might want to check what process is bound to port80
. Left-click the tray icon,Apache > Service > Test port 80
. This should tell you what process is bound to port80
. If nothing is listening at port80
, you should see the messageYour port 80 is not actually used.
. If Apache actually is listening on that port, you should see something likeApache/<version> (Win32) PHP/<version>
.Finally, check the Apache error log. Left-click the icon,
Apache > Apache error log
. Scroll to the end of the file and look for any messages that might be relevant.Try a different browser
Telnet to port
XX
and see if you're able to connect.
回答2:
For this problem go :
wamp > Apache > Service > Install Service
After Install Your Apache Is Ok :D
if not running, open this address use your web browser:
127.0.0.1
(usually This problem see in Windows 8)
回答3:
Skype uses port 80 if it is free. No need to uninstall skype, just start your webserver before skype and everything should be fine. Skype will find another port.
来源:https://stackoverflow.com/questions/6246938/why-doesnt-http-localhost-load-anything-with-wamp