xampp无法在Windows 7上运行 - Windows 7论坛

时间:2011-10-05 17:38:08

标签: xampp

我在Windows 7中的xampp安装1.7.4似乎不起作用。 http://localhost返回未找到错误。

Xampp控制面板显示mysql& apache服务正常运行。

自过去两周以来一直为此找到解决方案而感到沮丧。任何指针和支持将不胜感激!

9 个答案:

答案 0 :(得分:6)

您的计算机上是否运行过Skype或类似内容? Skype使用默认的http和https端口80和443,除非您在其设置中明确更改它。

答案 1 :(得分:1)

正如我所看到的,这是Windows 7和Vista的常见“问题” - 在某些情况下,这些系统不知道'localhost'。尝试使用http://127.0.0.1或在文件C:\ Windows \ System32 \ drivers \ etc \ hosts中添加一行 这一行是:

127.0.0.1 localhost

答案 2 :(得分:0)

你检查防火墙了吗?或者,如果您破坏了Windows防火墙(有时它无法在Windows 7中停止甚至打开防火墙),可能就是原因。

答案 3 :(得分:0)

默认情况下,此链接应该有效:ServerName http://localhost:80

至少它是以http.conf这样的方式。检查您是否以正确的方式设置(或者使用其他端口,如8080)

答案 4 :(得分:0)

退出Skype,再次启动xampp,重启apache,再次运行Skype。现在你可以让你的apache服务器和Skype运行良好:)

答案 5 :(得分:0)

在win7中,您在端口号80上运行IIS,这也是Apache服务器的默认端口

按照步骤

1. Open httpd.conf in the conf folder of apache folder
2. Find Line "Listen 80" and change it to any other port say 8800
3. see if the file exists httpd.conf.build, if yes change in that too
4. restart the server and you are done

Do check all the app that uses internet and see what all app you have
installed uses port 80, in case the above steps don't work.

答案 6 :(得分:0)

Localhost使用默认端口 80 。如果您已在 httpd.conf 中将其更改为 8080 。然后,您还可以使用http://localhost:8080

进行检查

答案 7 :(得分:0)

很久以前我遇到了类似的问题,我在博客上对此进行了描述(注意:工作Skype可能是一个问题,但没有安装Skype然后 ):

http://paweln66.wordpress.com/2013/08/11/why-xampp-and-wampserver-doesnt-works-under-windows-7/

在那里你可以找到:

  1. 解释可行的原因:问题通常与Windows 7有关
  2. 解决方案的两个方法如何启用XAMPP “快速”,更高级,不禁用其他服务
  3. 请阅读这篇文章,然后一切都应该清楚!

    我希望它可以帮助你...

答案 8 :(得分:-2)

如果您使用EasyPhp怎么办?我正在使用它与Windows 7一起工作,没有问题,现在xdebug开箱即用