php WAMP Server V 2.5 图标为橙色,无响应且无菜单

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/27938739/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-25 23:37:35  来源:igfitidea点击:

WAMP Server V 2.5 icon is orange,does not respond and no menu

phpmysqlapachewindows-7wamp

提问by Sameer Chowdhury

I have Windows 7 32 bit and wanted to work on wordpress to host my own page but to do that I got virtual server WAMP Server V 2.5 and after installing it, icon in taskbar was orange and after right and left clicking, there was no menu. I read many forums, disabled IIS and restarted and nothing. Also uninstalled, deleted directory on c:, installed again but same result, no menu, orange icon. I'm not a tech expert, so pls 'customize' your answers keeping this in mind. I have no idea how to check logs etc So pls let me know. Much obliged.

我有 Windows 7 32 位,想在 wordpress 上工作来托管我自己的页面,但要做到这一点,我得到了虚拟服务器 WAMP Server V 2.5,安装后,任务栏中的图标为橙色,右键单击和左键单击后,没有菜单. 我阅读了很多论坛,禁用了 IIS 并重新启动,但什么也没有。也卸载了,删除了 c: 上的目录,再次安装但结果相同,没有菜单,橙色图标。我不是技术专家,所以请记住这一点“定制”你的答案。我不知道如何检查日志等所以请告诉我。多谢。

Forgot to mention that hovering mouse over icon it says, 1 of 2 services running-server offline. I typed localhost and an IIS image showed up. So, after disabling IIS and restarting, my WAMP icon has disappeared altogether. So I enabled IIS again but the IIS does not check altogether as its 'shaded' (the FTP option is unchecked). After this I restarted and the WAMP icon did'nt show again. This happened yesterday and I reinstalled WAMP as I did now but still nothing. Also inside the WAMP folder, there is no apache folder nor is there any menu display from the WAMP icon on taskbar as mentioned above. Which other way is there to find out about the port my WAMP is using. And I dont have Skype.

忘了提到将鼠标悬停在图标上,它说 2 个服务中的 1 个正在运行服务器脱机。我输入 localhost 并显示一个 IIS 图像。因此,在禁用 IIS 并重新启动后,我的 WAMP 图标完全消失了。所以我再次启用了 IIS,但 IIS 并没有完全检查它的“阴影”(未选中 FTP 选项)。在此之后,我重新启动并且 WAMP 图标没有再次显示。这发生在昨天,我像现在一样重新安装了 WAMP,但仍然没有。同样在 WAMP 文件夹中,没有 apache 文件夹,也没有上面提到的任务栏上 WAMP 图标的任何菜单显示。还有哪些其他方法可以了解我的 WAMP 正在使用的端口。而且我没有Skype。

回答by Lim Socheat

I use this way to solve my problem. Click Wampserver icon -> Apache -> Service Administration -> Install Service -> click on wampserver icon again -> Apache -> Service Administration -> Start/Resume Service.

我用这种方式来解决我的问题。单击 Wampserver 图标 -> Apache -> 服务管理 -> 安装服务 -> 再次单击 wampserver 图标 -> Apache -> 服务管理 -> 启动/恢复服务。

Done: https://www.youtube.com/watch?v=75FFNArSPvU

完成:https: //www.youtube.com/watch?v=75FFNArSPvU

回答by Lim Socheat

I had also that problem, there might be another program running on the same ports, I know skype can be difficult to run with wamp and xammp servers.

我也有这个问题,可能有另一个程序在同一个端口上运行,我知道 Skype 可能很难与 wamp 和 xammp 服务器一起运行。

Check out if something else is running on same ports and turn skype off = the fix :))

检查是否有其他东西在相同的端口上运行并关闭 Skype = 修复 :))

edit: netstat -a -b will show all listening ports and the executable name If you prefer a graphical version, Microsoft's TCPView will show you the same information, updating in real-time.

编辑:netstat -a -b 将显示所有侦听端口和可执行文件名称如果您更喜欢图形版本,Microsoft 的 TCPView 将向您显示相同的信息,并实时更新。

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

http://technet.microsoft.com/en-us/sysinternals/bb897437.aspx

if you have other programmes running on the same ports you will have to change the ports of your virtual server.

如果在相同端口上运行其他程序,则必须更改虚拟服务器的端口。

回答by Priya R

I faced the same problem when running the wampserver. The icon was orange (server offline). Please find the steps I followed to get them working.

我在运行 wampserver 时遇到了同样的问题。图标为橙色(服务器离线)。请找到我遵循的步骤以使它们工作。

  • Uninstalled IIS to let apache use port 80 (DIDN'T FIX THE PROBLEM)

  • I changed the apache port from 80to 8080in httpd.confrestarting the services and it worked the icon turned green. (FIXED THE PROBLEM)

  • 卸载 IIS 以让 apache 使用端口 80(没有解决问题

  • 我在重新启动服务时将 apache 端口从 更改808080httpd.conf并且图标变为绿色。(解决了问题

FIX without changing the port in httpd.conf

修复而不更改 httpd.conf 中的端口

Wanted to find which service/application was using the port 80 run your command line as administrator and type

想找到哪个服务/应用程序正在使用端口 80 以管理员身份运行命令行并键入

netstat -ab

netstat -ab

Displays protocol statistics and current TCP/IP network connections.

显示协议统计信息和当前 TCP/IP 网络连接。

Results showed port 80 being used

结果显示正在使用端口 80

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING [Can not obtain ownership information]

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING [Can not obtain ownership information]

googling the msg helped me find the service "Web Deployment Agent Service"that was using the port. stopped the service. Updated the httpd.conf to use port 80 again.

谷歌搜索味精帮助我找到了"Web Deployment Agent Service"使用该端口的服务。停止了服务。更新了 httpd.conf 以再次使用端口 80。

Edit : After stopping the service, set its startup type to "Manual" to avoid the problem from reoccurring

编辑:停止服务后,将其启动类型设置为“手动”,避免问题再次发生

Look here for more details : http://benohead.com/windows-port-80-already-use/

在这里查看更多详细信息:http: //benohead.com/windows-port-80-already-use/

Note: I found the "Web Deployment Agent Service" from "administrative tools >> services" (It wasn't listed in taskmanager/services).

注意:我从“管理工具>>服务”中找到了“Web 部署代理服务”(它没有在任务管理器/服务中列出)。

Restarted the wampserver and It worked, apache now uses port 80.

重新启动 wampserver 并且它工作了,apache 现在使用端口 80。

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING [httpd.exe]

TCP 0.0.0.0:80 0.0.0.0:0 LISTENING [httpd.exe]

回答by Konrad

Did you try switching MySQL ports? If you have another version of mySQL already installed outside of WAMP - you could run into the same problem..

您是否尝试过切换 MySQL 端口?如果您已经在 WAMP 之外安装了另一个版本的 mySQL - 您可能会遇到同样的问题..

When I tested port 3306 (default sql port) it told me it was being used by 'mysqld.exe' (but not 'wampmysqld64.exe' - WAMP's mysql) which was from a different version of MySQL I had previously installed on the machine and since forgot about.

当我测试端口 3306(默认 sql 端口)时,它告诉我它正在被“mysqld.exe”(但不是“wampmysqld64.exe”——WAMP 的 mysql)使用,它来自我之前安装在机器上的不同版本的 MySQL从此忘记了。

回答by RiggsFolly

If the wampmanager menu is not appearing, it sounds like you are missing one or more of the required MSVC Runtime libraries on your system.

如果 wampmanager 菜单没有出现,听起来您的系统上缺少一个或多个必需的 MSVC 运行时库。

There are a number that WampManager/Apache/MySQL/PHP require but as WAMPServer can install Apache versions back as far as Apache 2.22 and PHP version back to PHP5.3.5 it is simpler to make sure you have a complete set.

WampManager/Apache/MySQL/PHP 需要一些数量,但由于 WAMPServer 可以将 Apache 版本安装回 Apache 2.22,将 PHP 版本安装回 PHP5.3.5,因此确保您拥有完整的设置会更简单。

Please make sure you have the latest version of all of these Microsoft C/C++ Redistributable runtime libraries. You dont need the whole compiler, just these C/C++ runtime libraries.

请确保您拥有所有这些 Microsoft C/C++ Redistributable 运行时库的最新版本。您不需要整个编译器,只需要这些 C/C++ 运行时库。

FOR WAMPServer 32bit

FOR WAMPServer 32 位

Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2008 SP1 可再发行组件包 (x86)

Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2010 SP1 可再发行组件包 (x86)

If you are using WampServer 2.4 or 2.5 32bit and therefore Apache 2.4.x

如果您使用 WampServer 2.4 或 2.5 32 位,因此使用 Apache 2.4.x

Microsoft Visual C++ 2012 is requiredAnd select vcredist_x86.exe

需要 Microsoft Visual C++ 2012并选择 vcredist_x86.exe

Later versions may also require

以后的版本可能还需要

Microsoft Visual C++ 2014and select vcredist_x86.exe

Microsoft Visual C++ 2014并选择 vcredist_x86.exe

Visual C++ Redistributable Packages for Visual Studio 2015 Update 3and select vcredist_x86.exe

Visual C++ Redistributable Packages for Visual Studio 2015 Update 3并选择 vcredist_x86.exe

FOR WAMPServer 64bit

适用于 WAMPServer 64 位

Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

Microsoft Visual C++ 2008 SP1 可再发行组件包 (x86)

Yes you need the x86 Package regardless as
wampmanager is a 32bit exe even on a 64 bit install

Microsoft Visual C++ 2008 Redistributable Package (x64)

Microsoft Visual C++ 2008 Redistributable Package (x64)

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)

Microsoft Visual C++ 2010 SP1 可再发行组件包 (x64)

If you are using WampServer 2.4 64bit

如果您使用的是 WampServer 2.4 64 位

Microsoft Visual C++ 2012 SP1 Redistributable PackageAnd select vcredist_x64.exe

Microsoft Visual C++ 2012 SP1 Redistributable Package并选择 vcredist_x64.exe

Later versions may also require

以后的版本可能还需要

Microsoft Visual C++ 2014and select vcredist_x86.exe

Microsoft Visual C++ 2014并选择 vcredist_x86.exe

Visual C++ Redistributable Packages for Visual Studio 2015 Update 3and select vcredist_x64.exe

Visual C++ Redistributable Packages for Visual Studio 2015 Update 3并选择 vcredist_x64.exe

BIG NOTE

大注意

The names of these runtime installs are almosts all called vcredist_x86.exe !!! So download and install them one at a timeor you will get very confused.

这些运行时安装的名称几乎都称​​为 vcredist_x86.exe !!!因此,一次下载并安装它们否则您会感到非常困惑。

Once they are installed your 'Programs and Features' should look something like this :-

安装后,您的“程序和功能”应如下所示:-

32bit systems 32bit system

32位系统 32位系统

64bit systems 64bit system

64位系统 64位系统

回答by Altaf Husain Neva

Have you tried running it on another port? Just changed the port of your wamp server and try again. Google out how to change the port of wamp server etc..

你试过在另一个端口上运行它吗?刚刚更改了 wamp 服务器的端口,然后重试。谷歌出如何更改wamp服务器等的端口。

回答by avinash

I had the orange status issue too. Apparently the Apache server that was already running from the previous launch did not terminate properly. Hence I had to kill that through the task manager to get the WAMP server running again.

我也有橙色状态问题。显然,上次启动时已经运行的 Apache 服务器没有正确终止。因此,我不得不通过任务管理器杀死它,以使 WAMP 服务器再次运行。

回答by Kevin Stubbs

My Apache service was reporting a fatal error on startup which could be found in the Event Viewer's Windows Logs -> Application. You can find your particular error from the event logs as well, if the checklist of common fixes (like closing Skype) doesn't solve it. My specific error was a syntax error on an alias file I wrote.

我的 Apache 服务在启动时报告了一个致命错误,可以在事件查看器的 Windows 日志 -> 应用程序中找到。如果常见修复清单(例如关闭 Skype)没有解决问题,您也可以从事件日志中找到您的特定错误。我的具体错误是我写的别名文件的语法错误。

回答by Manzini Lionel .T

I have finally fixed it!!!
If you have installed another mysql server for visual studio or netbeansit will use port: 3306;
But for Wampsever 3all you have to do is to right clickthe wamp ORANGEicon then under mysql group click test another port;
it will show you a dialog with port: 3307;
then press OK. Thats it; then the icon will turn GREEN;
Don't forget to say

我终于修好了!!!
如果您为Visual Studio 或 netbeans安装了另一个 mysql 服务器,它将使用端口: 3306
但是对于Wampsever 3,您所要做的就是右键单击wamp ORANGE图标,然后在 mysql 组下单击测试另一个端口;
它将显示一个带有端口的对话框: 3307
然后按确定。就是这样; 然后图标会变成绿色
别忘了说

cout <<"YESSS!" << endl;

回答by Taylor Postoak

I had this same problem, and it ended up being a port conflict.

我遇到了同样的问题,结果是端口冲突。

I opened up task manager, and a Microsoft SQL process was running. After ending that process and restarting WAMP everything worked fine.

我打开了任务管理器,一个 Microsoft SQL 进程正在运行。结束该过程并重新启动 WAMP 后,一切正常。