问题
Recently I have upgraded from windows 7 64 to windows 10 64. Before that I've had WAMPServer running like a charm, but now it doesn't work. Whenever I launch it I get the server offline. Clicking on the "put online" results only in getting the "could not perform service action" error pop up. I have already tried reinstalling Visual C++ Redistributable for Visual Studio 2012 Update 4, renaming the localhost and listen from 80 to 8080, turning off skype, none of these worked.
Does anybody know of a different solution to fixing this error?
回答1:
You should also check the HOSTS file. It comes empty I think in W10.
Make sure you have at least
127.0.0.1 localhost
::1 localhost
without '#` comments in column 1
Also you may well have inadvertantly installed IIS. MS seem to think this is a good idea lately. Check and if you are not using it, uninstall it.
回答2:
Stop IIS if not require. It is working for me.
- Open cmd.exe by Run as administrator
- Type
iisreset /stop
then hit enter - Restart wamp Server
- Enjoy :)
回答3:
All you need to do is install the Apache and MySQL services.
Start WampServer
left click wampmanager -> Apache -> Services -> Install Service left click wampmanager -> MySQL -> Services -> Install Service
Stop WampServer Start WampServer
回答4:
These above comments did not fix the issue with WAMP for my computer using Windows 10, however, I did find the answer to my problem from: http://praveenpuglia.com/make-wamp-work-on-windows-10-technical-preview/
World Wide Web Publishing Service was using the Port 80, causing WAMP to not work properly.
回答5:
- Go to Start, type in services.msc
- Scroll down in the Services window to find the World Wide Web Publishing Service.
- Right click on it and select Stop.
回答6:
Worked very well. left click wamp icon on the task tray -> apache -> service administration ->install service...
回答7:
I would have suggested that you didn't upgrade to.windows 10 as operating usually have bugs at early launch.
Next time run new Operating system on Virtual PC first before going for full.system upgrade.
Change the port number to e.g. 8084? If available because 80 still 8080.
回答8:
It's working: Enjoy
1. Go to Start, type in services.msc
2. Scroll down in the Services window to find the World Wide Web Publishing Service.
3. Right click on it and select Stop.
4. Now restart WAMP and you should be good to go.
Remember every you need to do, after restarting computer.... :)
回答9:
This is usually issue caused by clash in http ports. IIS already takes port no 80 and apache tries to take 80 and clash happens.
Start apache with other port and it will run:
Step 1: Stop wamp services. Close wamp manager
Step 2: \bin\apache\apache2.4.9\conf\httpd.conf Change Port to 8080 (or any other free port)
Step 3: \wampmanager.tpl Note: Changing in wampmanager.ini does not work as its regenerated from .tpl file change set the port you have selected above to localhost.
e.g. http://localhost to http://localhost:8080
回答10:
I got this issue intermittently and i found out it was Skype. Closing Skype and restarting all services in WAMP fixed the issue for me. If you have other means of instant messengers open, try closing those too. You need to free up port 80.
回答11:
I was having the same issue. I was using Wamp x86 and my Windows 10 is X64. It could be working but it was not. Then, I installed Wamp x64 and it's working normally now.
回答12:
- Go to Start, type in services.msc
- Scroll down in the Services window to find the World Wide Web Publishing Service.
- Right click on it and select Stop.
- Double click on World Wide Web Publishing and set "Startup Type" to "Manual"
- Restart WAMP
People are missing step 4 to prevent having to stop the service after every restart. Pretty sure its in the instructions when installing the latest version of WAMP, but just noting it here in case someone is reading some of the above comments mentioning this method.
回答13:
i had the same problem smdrhk.biz
i use:Go to Start, type in services.msc
Scroll down in the Services window to find the World Wide Web Publishing Service.
Right click on it and select Stop.
Double click on World Wide Web Publishing and set "Startup Type" to "Manual"
Restart WAMP
回答14:
Let's make it simple.
- Go to the task bar -> click on Wamp icon ->apache->httpd.conf.
- find -> Listen [::0]:80 change it into Listen [::0]:8080 (save it)
- right click on wamp Icon and click exit.
- Go to C:\wamp64\bin\mysql\mysql(version)\data -> delete ib_logfile0, ib_logfile1 and auto.cnf files.
- restart Wamp and enjoy it. ;)
回答15:
- open
run
- write
Services.msc
- go to
World Wide Web Publishing
- then click on
Stop
- Restart Wampserver
来源:https://stackoverflow.com/questions/31774958/wampserver-not-working-properly-on-windows-10-could-not-perform-service-action