IIS 和 Apache (WAMP) 正在运行 [英] IIS and Apache (WAMP) running

查看:19
本文介绍了IIS 和 Apache (WAMP) 正在运行的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们如何在同一台机器上同时运行 IIS 6 和 Apache (wamp)?

How can we run IIS 6 and Apache (wamp) in same machine at same time?

推荐答案

IIS 和 Apache 应该有不同的端口.

IIS and Apache should have different port.

更改 Apache(WAMP) 的端口

To change the port of Apache(WAMP)

  1. 点击您可以在托盘上看到的 WAMP 图标或其他 wamp 快捷方式图标.
  2. 查找 Apache 并打开 httpd.conf 或者如果您知道它的存储位置.
  3. 找到80"然后改变

  1. Click on WAMP icon that you can see on your tray or other shortcut icons for wamp.
  2. Look for the Apache and open the httpd.conf or if you know where it is stored.
  3. Find the "80" then change

听 80 听 8080

Listen 80 to Listen 8080

ServerName localhost:80 到 ServerName localhost:8080

ServerName localhost:80 to ServerName localhost:8080

注意:您可以更改您想要的端口,只要它不会与您的其他端口冲突.如果端口在此范围内,则更安全和常见.

Note: You can change the port which you desired as long as it will not conflict with your other port. It is more safe and common if the port is at this range.

然后点击重新启动所有服务.

Then click on Restart All Services.

请参阅此处了解更多信息.

如果您更喜欢更改 IIS 而不是 Apache,请查看此 IIS

If you prefer to change your IIS rather Apache, check on this IIS

这篇关于IIS 和 Apache (WAMP) 正在运行的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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