问题
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.
I have installed a new version of WAMP. No changes made to any files.
Opening wamp the icon never goes from red to green.
Put online gives error: Could not execute menu item (internal error) [Exception] Could not perform service action: The service has not been started
That's the same error I get if I do apache->service->start service
I have not ever had skype running, but I uninstalled it just in case and because I no longer use it.
Doing apache->service->test port 80 says "Your port 80 is not actually used." Install service gives no complaints either.
I've clicked the apache version apache->version->number
I have apache 2.4.9 Running windows 7 Wamp version 2.5(fresh installer like 2 hours ago...)
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
Running httpd.exe no longer gives me any issues.
But regardless WAMP will not go online.
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)
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"
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.
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"
回答1:
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)"
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.
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!)
回答2:
Sometimes you cannot even run wampapache from services that is: because some other software on your system is using port 80 for its communication so best thing is to shut it down so try turning down: Skype IIS or usb router services
来源:https://stackoverflow.com/questions/28260021/wamp-server-apache-wont-start