为什么http://localhost/不使用WAMP加载任何内容? [英] Why doesn't http://localhost/ load anything with WAMP?

查看:78
本文介绍了为什么http://localhost/不使用WAMP加载任何内容?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我最近尝试安装WAMP,但是发现没有页面可以加载.如果有任何含义,它还带有橙色的W徽标.它确实说(托盘图标) WAMPserver联机.我还进行了一些研究,发现Skype可能会导致问题,因此我删除了使用端口80和443作为传入连接的替代方法选项,但仍然无法正常工作.我在Chrome浏览器中看到以下屏幕,有什么主意吗?

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?

编辑:经过进一步研究,我发现安装和Skype可能出了点问题.我不知道这是怎么发生的,但重新灌输后一切正常.感谢您的帮助.

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.

推荐答案

橙色徽标表示至少一项服务无法启动.您可以尝试以下方法对根本原因进行故障排除:

The orange logo indicates that at least one service failed to start. You might try the following to troubleshoot the underlying reason:

  1. 检查Apache服务是否正在运行.左键单击WAMP托盘图标,并检查在Apache > Service下,启动服务的选项是否已禁用/显示为灰色.如果没有,则您的Apache服务未运行,这就是原因.

  1. 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.

检查Apache正在监听的端口.再次.左键单击WAMP图标,Apache > httpd.conf应该打开配置.查找Listen XX指令,并注意XX的值是什么.如果不是80,则应改用URL http://localhost:XX.

Check the port Apache is listening on. Again. left-click the WAMP icon, Apache > httpd.conf should open the configuration. Look for the Listen XX directive and note what the value for XX is. If not 80, you should use the url http://localhost:XX instead.

如果Listen的值确实是80,则可能要检查绑定到端口80的进程.左键单击任务栏图标Apache > Service > Test port 80.这应该告诉您端口80绑定了什么进程.如果端口80上没有任何内容在监听,则应该看到消息Your port 80 is not actually used..如果Apache实际上正在该端口上侦听,您应该会看到类似Apache/<version> (Win32) PHP/<version>.

If the value for Listen was indeed 80, you might want to check what process is bound to port 80. Left-click the tray icon, Apache > Service > Test port 80. This should tell you what process is bound to port 80. If nothing is listening at port 80, you should see the message Your port 80 is not actually used.. If Apache actually is listening on that port, you should see something like Apache/<version> (Win32) PHP/<version>.

最后,检查Apache错误日志.左键单击图标Apache > Apache error log.滚动到文件末尾,查找可能相关的任何消息.

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.

尝试使用其他浏览器

Telnet到端口XX,查看是否能够连接.

Telnet to port XX and see if you're able to connect.

这篇关于为什么http://localhost/不使用WAMP加载任何内容?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆