WAMP Server Apache无法启动 [英] WAMP Server Apache won't start

查看:118
本文介绍了WAMP Server Apache无法启动的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有几个主题与此主题非常相似,但是,在仔细研究了这些主题之后,我没有遇到相同的问题,其余的主题都没有解决.

There are several topics that are very similar to this one, however, after looking over them the ones that were solved I did not have the same issue, and the rest weren't solved.

我已经安装了新版本的WAMP.没有对任何文件进行更改.

I have installed a new version of WAMP. No changes made to any files.

打开沼泽图标永远不会从红色变为绿色.

Opening wamp the icon never goes from red to green.

联机放置会出现错误: 无法执行菜单项(内部错误)[Exception]无法执行服务操作:服务尚未启动

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

如果我执行apache-> service-> start service,这就是我得到的相同错误

That's the same error I get if I do apache->service->start service

我从来没有运行过Skype,但是为了以防万一,因为我不再使用它了,所以我将其卸载了.

I have not ever had skype running, but I uninstalled it just in case and because I no longer use it.

执行apache-> service-> test端口80时显示您的端口80并未实际使用."安装服务也没有任何投诉.

Doing apache->service->test port 80 says "Your port 80 is not actually used." Install service gives no complaints either.

我点击了apache版本apache-> version-> number

I've clicked the apache version apache->version->number

我有Apache 2.4.9 运行Windows 7 Wamp版本2.5(像2小时前一样全新安装程序...)

I have apache 2.4.9 Running windows 7 Wamp version 2.5(fresh installer like 2 hours ago...)

在apache \ apache2.4.9 \ bin目录中运行"httpd.exe -e调试"的cmd中,打印以下内容:

In cmd running "httpd.exe -e debug" in directory apache\apache2.4.9\bin prints the folowing:

[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module access_compat_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_access_compat.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module actions_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_actions.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module alias_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_alias.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module allowmethods_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_allowmethods.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module asis_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_asis.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module auth_basic_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_auth_basic.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authn_core_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authn_core.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authn_file_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authn_file.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authz_core_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authz_core.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authz_groupfile_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authz_groupfile.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authz_host_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authz_host.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module authz_user_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_authz_user.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module autoindex_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_autoindex.so
[Sat Jan 31 23:05:21.548528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module cache_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_cache.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module cache_disk_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_cache_disk.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module cgi_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_cgi.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module deflate_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_deflate.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module dir_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_dir.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module env_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_env.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module file_cache_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_file_cache.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module include_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_include.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module isapi_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_isapi.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module log_config_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_log_config.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module mime_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_mime.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module negotiation_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_negotiation.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module setenvif_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_setenvif.so
[Sat Jan 31 23:05:21.704528 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module vhost_alias_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/apache/apache2.4.9/modules/mod_vhost_alias.so
[Sat Jan 31 23:05:21.720128 2015] [so:debug] [pid 532:tid 132] mod_so.c(266): AH01575: loaded module php5_module from C:/Users/Chase/Google Drive/Web Dev/wamp/bin/php/php5.5.12/php5apache2_4.dll

运行httpd.exe不再给我任何问题.

Running httpd.exe no longer gives me any issues.

但是无论WAMP为何都不会上线.

But regardless WAMP will not go online.

添加: 可能是Windows UAC引起的吗?我是管理员,甚至以管理员身份运行wamp.但是我不确定拒绝访问"是什么意思,而且手动运行httpd.exe似乎没有任何问题. (尽管我不知道它是否在起作用,但我没有收到错误消息)

Addition: Could this maybe be caused by windows UAC? I'm an admin and I even run wamp as an admin. But I'm unsure what "Access Denied" means, and I don't seem to get any issues running httpd.exe by hand. (Although I don't know if it was functioning I was not getting errors)

加法2 我在另一个stackoverflow问题上发现了关于Wamp服务的错误评论.在Windows + R-> services.msc中,右键单击wampapache64并选择开始"将返回错误5:访问被拒绝"

Addition 2 I found a miscillaneous comment about wamp services on another stackoverflow question. In Windows+R -> services.msc right clicking wampapache64 and selecting start returns "Error 5: Access is denied"

添加3 看来这台计算机可能还有其他问题.尝试更改防火墙也会返回错误.也许我有一个更深层次的问题.

Addition 3 It seems this computer may have some other issues. Attempting to change the firewall returns an error as well. Maybe I have some sort of deeper issue.

其他防火墙问题详细信息: 单击控制面板中的Windows防火墙时,显示更新防火墙设置-Windows防火墙未使用推荐的设置来保护您的计算机."然后有一个使用建议的设置"按钮,然后单击它,显示"Windows防火墙无法更改您的某些设置.错误代码0x80070424"

Additional firewall issue details: Clicking windows firewall in control panel says "Update your Firewall settings - Windows firewall is not using the recommended settings to protect your computer." then there is a "Use Recommended Settings" button, and clicking it says "Windows Firewall can't change some of your settings. Error code 0x80070424"

推荐答案

上周我已经解决了这个问题!希望对您有所帮助.如果您使用的是Windows,请转到

I've solved this on last week!!i hope it's help you. If you are on Windows, You go to

"Control Panel" >> "System And Security" >>  "Administrative Tools" >> "Component Services" >> "Services (LOCAL)"

现在,由于您使用的是WAMP,而不是IIS,因此应该禁用万维网发布服务"和"Web部署代理服务".你很高兴.

Now, since you are using WAMP and not IIS you should disable the "World Wide Web Publishing Service" and the "Web Deployment Agent Service". You are good to go.

如果这不起作用,则可能是使用端口80的Skype(如果您实际上有Skype). (如果已安装IIS,则也应禁用它.但是,如果未安装IIS,则不必担心!)

If this doesn't work you probably have Skype using Port 80 (if you actually have Skype). (If you have IIS installed you should also disable it. But if you don't have it installed you shouldn't worry!)

这篇关于WAMP Server Apache无法启动的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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