无法使用 WAMP ,IIS 7.5 使用端口 80 [英] Can't use WAMP , port 80 is used by IIS 7.5

查看:20
本文介绍了无法使用 WAMP ,IIS 7.5 使用端口 80的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试在 Windows 7 上使用 WAMP,我的 WAMP 在线,但是当我打开 localhost 时,我得到了 IIS 7.5 的欢迎页面,尽管我已经从我的 PC 上卸载了 IIS 7.5!

I am trying to use WAMP on Windows 7, my WAMP is online, but when I open localhost I get the welcome page of IIS 7.5, although I have uninstalled IIS 7.5 from my PC!

Apache 服务器测试说我的 Microsoft-HTTPAPI/2.0 使用了端口 80

Apache server test says that port 80 is used my Microsoft-HTTPAPI/2.0

MS Visual Studio 2010 不久前也被卸载了.

MS Visual Studio 2010 was uninstalled a short while ago as well.

推荐答案

默认情况下,WampServer 安装到 IIS 已使用的端口 80.要将 WampServer 设置为使用开放端口,请左键单击系统托盘中的 WampServer 图标,然后转到 Apache > httpd.conf

By default WampServer is installed to port 80 which is already used by IIS. To set WampServer to use an open port, left click on the WampServer icon in the system tray and go to Apache > httpd.conf

在记事本中打开 httpd.conf.按 ctrl+f 并搜索Listen 80",将此行更改为Listen 8080"(您可以根据需要更改此端口),然后关闭并保存 httpd.conf 文件.

Open the httpd.conf in Notepad. press ctrl+f and search for "Listen 80", change this line to "Listen 8080" (u can change this port as what you want), and then close and save the httpd.conf file.

打开网络浏览器并输入[];,这将打开 WampServer 配置页面,您可以在其中配置 Apache、MySQL 和 PHP.

Open a web browser and enter "[];, this will open the WampServer configuration page where you can configure Apache, MySQL, and PHP.

有时会出现这个问题,因为Skype也使用80作为默认端口希望这会有所帮助

and some times this problem may occur because of skype also use 80 as default port hope this will help

这篇关于无法使用 WAMP ,IIS 7.5 使用端口 80的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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