问题
the icon of wamp server is yellow, I tried in:
1.Open file httpd.conf through wamp tray icon
Find:
# onlineoffline tag - don't remove
Order Deny,Allow
Deny from all
Allow from 127.0.0.1
Change to:
# onlineoffline tag - don't remove
Order Deny,Allow
Allow from all
no change!
2.left click the wamp icon > Put Online
no change, still online put yellow icon --> locall host not work
3.apache --> service --> start service --> not work
4.apache --> service --> test port 80 -->
your port actually used by: server : Microsoft
I don't know what to do?
回答1:
Ok, i figured this out. What is happening is Skype is blocking port 80. So, you have to do the following:
- Right click on skype.
- Click on quit and allow it to quit.
- Left click on the Wamp Server icon
- Click Start all services.
- Thats it! If you want to use skype, do all of the steps (1-4) then start skype again.
回答2:
It's my own problem and solveed it. click start and type servicesp-> open it and stop it ( at the r8 side). click on the yellow icon and got apache--> service--> test port 80--> if it's available, then again go to apache --> service and --> install service
restart all services by clicking wamp icon and then you will find green
回答3:
i did face this complex and i did tried all the solution to make wamp server go to green , but it did not work , every thing at all , but , when i click on test port 80 on apache , it gives your port 80 is used by http/api2.0 . and from here i found the answer from a contributor in ther web site http://theandystratton.com/2012/wampapache-broken-from-microsoft-httpapi-2-0-using-port-80 , here is the solution :
Turning off Microsoft HTTP/API 2.0
Open your Control Panel (Start > Control Panel)
Change the view setting from Category to Small or Large Icons
Open Administrative Tools
Open Services
Find “Web Deployment Service Agent” in the list
Right click and choose Properties
Click Stop
Change it’s Start Up value to “Manual”
Hit Apply/OK to save the changes
Go to WAMP and restart all services
This should do it.
回答4:
I found an issue that fixed mine on VirtualBox. For some reason the WAMP installer never installed the service. To fix it, left click on the yellow wamp icon in your task bar area, select Apache>>Service>>Install Service then follow the instructions in the DOS screen.
Next go back to Apache>>Service>> and select "Start/Resume Service"
回答5:
Try installing WAMP 2.1 I also tried each and everything, but install WAMP 2.1, refrain from 2.2,
http://sourceforge.net/projects/wampserver/files/WampServer%202/WampServer%202.1/
Have a gr8 time
回答6:
Try this,
- Left click the wamp icon, go to apache and then test port 80.
- If it shows apache then it is working fine and if it shows MicrosoftApi etc. then go to services --> search for web deployment agent service and stop it.
- Restart the wamp and hope it works for you.
回答7:
Here are steps to find out the wampserver's errors
- Go to Control Panel -> Event Viewer
- Find "Apache Service" in "Summary of Administrative Events", then double click on it
- View errors and fix them.
Hope this is helpful!
回答8:
There are many obscure things that can cause this, in my case I had enabled the PHP zip extension, it caused the yellow icon and the services were not started. With the services not started it wouldn't let me disable the extension, had to manually edit the php.ini and comment it out. Then wamp started fine.
回答9:
Re-install WAMP and try to turn off WAMP before switching off machine and don't force stop while turning off, if WAMP is on and you will not deal with this problem in future.
回答10:
My solution was using a different port rather than 80.
- Left click over the "W" icon
- Select Apache > Use a port other than 80
- 8080 worked fine for me
Good luck!
回答11:
I clicked on "allow VirtualHost local ip's others than 127.*" in wamp settings.
its working fine with (green tray icon)
回答12:
i had the same problem, click on wamp icon => apache => service => install service
however avoid installing 64 bit wamp, sometimes it throws dll errors, i recommend Laragon instead
来源:https://stackoverflow.com/questions/10652115/yellow-icon-for-wamp-server