将wamp上线的问题

发布于 2024-12-11 05:53:27 字数 221 浏览 0 评论 0原文

好吧,我在一小时前就下载了 wamp 服务器。我想把它放到网上,但我做不到。我收到以下异常:“无法执行菜单项内部错误异常无法执行服务操作”。我在谷歌上搜索并找到了 2 个解决方案。 其中1是将Skype和其他程序的端口从80端口更改为另一个端口。 我没有这些程序,所以应该没问题。 第二种解决方案是将wamp的端口更改为8080或其他什么,我也尝试了,但仍然不起作用。(wamp的图标是橙色的)。 我做错了什么?我错过了什么吗?

Alright, so I've downloaded wamp server before an hour. I was trying to put it online and I just couldn't. I'm getting the following exception: "could not execute menu item internal error exception could not perform service action". I was googling it and I found 2 solutions.
1 of them is to change the ports of the skype, and other programs from port 80 to another one.
I don't have any of these programs, so it's should be OK.
The second solution is to change the port of the wamp to 8080 or whatever, I tried this also and it's still not working.(The icon of the wamp is orange).
What am I doing wrong? Am I missing anything?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

じ违心 2024-12-18 05:53:27

我使用 WampDeveloper Pro,所以它有点不同,但我假设你的问题是 Apache 无法启动。

您需要获取特定的 Apache 错误消息才能了解问题所在。

打开命令行(运行 cmd.exe),然后输入:httpd t

这将执行语法检查。如果没问题,请输入:httpd -k start

这将尝试启动 Apache,如果不成功,将打印出错误。

如果错误类似于“无法绑定到 0.0.0.0:80,端口已在使用中”(该错误会比这更临床一些),那么你是对的,其他东西已经占用了端口 80

。在这种情况下,请输入:netstat -aon。查找显示“0.0.0.0:80”的行并记下 PID 编号。然后进入 Windows 任务管理器 (ctrl-alt-del),进入“进程”选项卡,单击“显示所有进程”。查找具有相同 PID 号的进程。这是您需要关闭或重新配置以侦听另一个端口的情况。

I use WampDeveloper Pro, so it's a bit different, but I'll assume that your problem is that Apache will not start.

You'll need to get the specific Apache error message to understand what the problem is.

Open the command line (run cmd.exe), and within type in: httpd t.

This will perform a syntax check. If it's okay, then type in: httpd -k start.

This will attempt to start Apache, and if unsuccessful, will print out the error.

If the error is something like "can't bind to 0.0.0.0:80, port already in use" (the error will be a bit more clinical than that) then you are right, something else is already taking up port 80.

In which case, type in: netstat -aon. Look for the line that says "0.0.0.0:80" and note the PID number. Then get in your Windows Task Manager (ctrl-alt-del), into the Processes Tab, click "Show process from all". Find the process that has the same PID number. This is what you need to shut down or reconfigure to listen on another port.

つ低調成傷 2024-12-18 05:53:27

嘿,您是否尝试过推迟任何其他已安装的服务器(例如 IIS)?如果你打开了 IIS,请转到服务并停止全球发布服务,然后尝试重新启动所有 wamp 服务,然后将其上线,它应该可以工作:)

hey have you tried to put off any othe installed server like IIS for example ?? if you have IIS turned on go to services and stop world wide publishing service and than try restart all wamp services and then put it online it sould work :)

耳钉梦 2024-12-18 05:53:27

主要是 Apache 的问题。

我也有同样的问题。问题是 Apache 尝试使用的端口实际上正在被其他应用程序使用。

  1. 更改端口号。从文件 http.conf 或 httpd.conf 从 80 到其他内容 Listen 8080 将 8080 更改为其他内容。

  2. 检查哪个应用程序正在使用该端口并将其关闭。使用“cports”应用程序或您喜欢的任何其他应用程序检查端口状态。然后它就会正常工作。

Mostly its Apache problem.

I had the same problem. The problem is that the port Apache is trying to use is actually being used by some other application. Either

  1. Change the port no. from the file http.conf or httpd.conf from 80 to smething else Listen 8080 change 8080 to something else.

  2. check out which application is using the port and shut it down. Check the port status using "cports" aplication or any other that you prefer. Then it will work just fine.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文