WAMP Server 2 打开时出错

发布于 2024-12-18 01:15:58 字数 401 浏览 1 评论 0原文

我在我的笔记本电脑上安装了WAMP服务器2,操作系统使用的是Windows7。当我尝试打开 PHP MyAdmin 时,它总是在浏览器中显示以下消息。

HTTP Error 404. The requested resource is not found.


因此,当我尝试将服务器联机时,它会给出以下错误消息:

wamp 服务器无法执行菜单项(内部错误)[异常] 无法执行操作:服务尚未启动

在此处输入图像描述

有谁知道为什么会发生这种情况?
我无法再打开 PHP 我的管理员或本地主机。

I have installed the WAMP server 2 in my Laptop and the Operating system using is Windows7. When I try to open PHP MyAdmin it always gives the following message in the browser.

HTTP Error 404. The requested resource is not found.

So when I try to put the server online it gives this error message:

wamp server could not execute menu item (internal Error) [Exception]
could not perform action: The service has not been started

enter image description here

Does anyone have any idea why this happens like this?
I can't anymore open the PHP my admin or Localhost.

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

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

发布评论

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

评论(8

梦与时光遇 2024-12-25 01:15:58

服务器离线与您的问题无关。

单击系统托盘中的图标,检查 Apache 和 MySQL 是否已打开。你这样做是从

Apache>Service>(检查启动/恢复服务是否已禁用)

MySQL>服务>(检查启动/恢复服务是否已禁用)

如果 Apache 未开启,请单击启动/恢复服务。如果它仍然没有出现,请单击测试端口 80 这应该会告诉您端口 80 是否被阻止(通常 Skype 会阻止它。在这种情况下,退出阻止端口 80 的程序,启动 Apache 并然后您可以恢复之前终止的程序)

如果 Apache 已打开,并且图标仍然是橙色,则意味着 MySQL 要么 (a) 关闭,要么 (b) 独立运行。

如果 MySQL 已关闭,请按照与 Apache 相同的方式将其打开。

如果 MySQL 是单独安装的,请检查配置

MySQL>my.ini

查找类似的内容

以下选项将传递给所有 MySQL 客户端
[客户]
密码=root
端口 = 3306
套接字= /tmp/mysql.sock

并为您的 mySQL 实例输入正确的密码和端口

The server offline has no relation to your problem.

Click on the icon in the system tray, and check that Apache and MySQL are on. You do this from

Apache>Service>(check that start/resume service is disabled)

MySQL>Service>(check that start/resume service is disabled)

If Apache is not on, click start/resume service. If it still doesn't come on, click on Test port 80 This should tell you if port 80 is blocked (usually Skype blocks it. In that case, exit the program blocking port 80, start Apache and then you can resume the program that you terminated earlier)

If Apache is on, and the icon is still orange, it means MySQL is either (a) off or (b) running independently.

If MySQL is off, turn it on in the same way you would have done for Apache

If MySQL is separately installed, check the configuration from

MySQL>my.ini

Look for something like

The following options will be passed to all MySQL clients
[client]
password = root
port = 3306
socket = /tmp/mysql.sock

and put in the proper password and port for your mySQL instance

胡渣熟男 2024-12-25 01:15:58

我的电脑/管理/服务

并停止sql报告服务

my computer/manage/services

and stop sql reporting services

神仙妹妹 2024-12-25 01:15:58

安装 WAMP 后我收到同样的错误消息。正如 Pranav 提到的,我的问题是 Skype 的问题。退出 Skype 并“重新启动所有服务”,然后单击“上线”即可使 WAMP 正常工作。之后重新启动 Skype。

I got the same error message after installing WAMP. My problem was with Skype as mentioned by Pranav. Quitting Skype and 'Restarting All Services' and then clicking on 'Put Online' got WAMP working. Restarted Skype afterwards.

瀞厅☆埖开 2024-12-25 01:15:58

我按照以下步骤解决了问题:

services.msc 并停止我最近安装的 Web 部署代理服务。还要让它手动启动,以免下次启动时出现任何问题。

I solved the problem following these steps:

services.msc and stop Web Deployment Agent Service which I recently installed. Also make it to start manually to not cause any problem in next start-ups.

许你一世情深 2024-12-25 01:15:58

出现此错误是因为您安装了 Microsoft (SQL Server Management studio)。

因此,您需要从 mycomputer/services 停止 SQL Server 报告服务和所有 IIS 服务。

然后重启wampserver的所有服务。

This error occur because You have installed Microsoft (SQL Server Management studio).

So,You need to stop SQL server reporting service and all IIS services from mycomputer/services.

Then Restart all services of wampserver.

陌路黄昏 2024-12-25 01:15:58

检查您的 Apache 和 MySQL 服务是否正在运行(托盘图标应为绿色),如果没有,则从这里开始。另请检查您是否有多个版本(来自之前的安装),也许活动版本配置错误。

Check if your Apache and MySQL services are running (the tray icon should be green), if not, that's the place to start. Also check if you have multiple versions of them (from the previous install), perhaps the active one(s) is misconfigured.

兔小萌 2024-12-25 01:15:58

请确保您拥有所有这些 Microsoft C++ Redistributable 运行时库的最新版本。

wampmanager 使用的是 2008 Redist
某些版本的 Apache 使用 2010 Redist(取决于所使用的编译器)
某些版本的 Apache(取决于所使用的编译器)使用 2012 Redist

FOR WAMP 32 位
Microsoft Visual C++ 2008 SP1 可再发行组件包 (x86) http://www .microsoft.com/en-gb/download/details.aspx?id=5582

Microsoft Visual C++ 2010 SP1 可再发行组件包 (x86) http://www.microsoft.com/en-gb/download/details .aspx?id=8328

如果您使用的是 WampServer 2.4
Microsoft Visual C++ 2012 http://www.microsoft.com/en -gb/download/details.aspx?id=30679
并选择 vcredist_x86.exe

FOR WAMP 64 位
Microsoft Visual C++ 2008 SP1 可再发行组件包 (x86) http://www .microsoft.com/en-gb/download/details.aspx?id=5582

是的,无论如何,您都需要 x86 软件包

Microsoft Visual C++ 2008可再发行组件包 (x64) http://www.microsoft.com/ en-us/download/details.aspx?id=15336

Microsoft Visual C++ 2010 SP1 可再发行组件包 (x64) http://www.microsoft.com/en-gb/download/details .aspx?id=13523

如果您使用的是 WampServer 2.4
Microsoft Visual C++ 2012 http://www.microsoft.com/en -gb/download/details.aspx?id=30679

并选择 vcredist_x64.exe

然后确保您没有运行另一个 APache。很多人在尝试自己安装 Apache、PHP 和 MySQL 后才转向 WAMPServer。请确保卸载任何其他尝试Do It Yourself的尝试

Please make sure you have the latest version of all of these Microsoft C++ Redistributable runtime libraries.

The 2008 Redist is used by wampmanager
The 2010 Redist is used by some versions of Apache ( depending on compiler used )
The 2012 Redist is used by some versions of Apache ( depending on compiler used )

FOR WAMP 32bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) http://www.microsoft.com/en-gb/download/details.aspx?id=5582

Microsoft Visual C++ 2010 SP1 Redistributable Package (x86) http://www.microsoft.com/en-gb/download/details.aspx?id=8328

If you are using WampServer 2.4
Microsoft Visual C++ 2012 http://www.microsoft.com/en-gb/download/details.aspx?id=30679
And select vcredist_x86.exe

FOR WAMP 64bit
Microsoft Visual C++ 2008 SP1 Redistributable Package (x86) http://www.microsoft.com/en-gb/download/details.aspx?id=5582

Yes you need the x86 Package regardless

Microsoft Visual C++ 2008 Redistributable Package (x64) http://www.microsoft.com/en-us/download/details.aspx?id=15336

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64) http://www.microsoft.com/en-gb/download/details.aspx?id=13523

If you are using WampServer 2.4
Microsoft Visual C++ 2012 http://www.microsoft.com/en-gb/download/details.aspx?id=30679

And select vcredist_x64.exe

Then make sure you do not have another APache running. Lots of people come to WAMPServer after trying to install Apache, PHP and MySQL themselves. Make sure you uninstall any other attempts you may have made to Do It Yourself

许仙没带伞 2024-12-25 01:15:58

如果您收到以下错误

无法执行菜单项(内部错误)[异常]无法执行服务操作:服务尚未启动

解决方案 1:

确保您的系统上没有运行以下服务:IIS、Skype、Zone Alarm、NOD32、Eset、 Internet Optimizer、Google Accelerator、任何其他数据库服务器、任何其他网络服务器...

如果您使用上述任何应用程序,请将其关闭并从 WAMP 菜单中选择“重新启动所有服务”。


解决方案2:

在Apache下打开httpd.conf并将行更改

#Listen 12.34.56.78:80
Listen 80

#Listen 12.34.56.78:80
Listen 8080

Make that 80 to 8080,保存文件并选择“重新启动所有服务”,就完成了。

If you getting following error

Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started

Solution 1:

Make sure none of following services is running on your system: IIS, Skype, Zone Alarm, NOD32, Eset, Internet Optimizer, Google Accelerator, any other database server, any other webserver..

If you using any of the above application close it and select “restart all services” from WAMP menu.


Solution 2:

Under Apache open the httpd.conf and change the lines

#Listen 12.34.56.78:80
Listen 80

to

#Listen 12.34.56.78:80
Listen 8080

Make that 80 to 8080, save the file and select “restart all services”, it is done.

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