I am having problems with Wamp Server, the icon will never turn green. It is constantly stuck at orange.
I have tried many ways, editing HOSTS file, .config files, disabling IIS, changing SKYPE’s port, quitting SKYPE, disabling World Wide Web publishing services etc… And under wamp server icon > Apache > Test port 80, it states that Apache is using that port.
I am running Windows 8 64 bit and Wamp Server 2.4. Any help would be appreciated.
Before you can fix anything you need to know which service has not started, Apache or MySQL.
As the TEST PORT 80 utility is saying Apache is running its probably the MySQL service that has not started. Unless you have another Apache running!
So which service has not started???
If the wampmanager icon is not GREEN then one of the services ( Apache/MySQL ) has not started properly.
How to tell which service is not running if the wampmanager icon is orange.
Left click the wampmanager icon to reveal the menu-> Apache -> Service
If the Start/Resume service menu is Green then Apache IS NOT running.
Left click the wampmanager icon to reveal the menu-> MySQL -> Service
If the Start/Resume service menu is Green then MySQL IS NOT running.
If Apache is the service that is not running it is normally, but not always, because something else has captured port 80.
Left click the wampmanager icon to reveal the menu-> Apache -> Service -> Test port 80
This will launch a command window and display some information about what, if anything is using port 80.
Whatever it is should be re-configured to not use port 80 or uninstalled if you are not using it.
If port 80 is not the problem look for errors in the appropriate error log ( use the wamp manager menus to view the error logs )
If these do not exists or show no errors then also check the Windows Event Viewer
Start -> Administrative Tools -> Event Viewer
And look in the ‘Windows Logs’ -> Application’ section accessed from the menu on the left of the dialog for error messages from Apache and or MySQL.
If its MYSQL that has not started.
Check the mysql error log by using the menus
Check the Windows Event log for messages from MYSQL
Check you dont have another MYSQL Server instance running.
How to Configure SKYPE so it does not require port 80 or 443
then using the menus do this:
Tools -> Options -> Advanced -> Connection
Un-Check the checkbox next to ‘Use port 80 and 443 as alternatives for incomming connections’
Now restart SKYPE for these changes to take effect.
If you are running Windows 8 SKYPE comes as an app and this cannot ( as yet ) be configured in this way.
However if you uninstall the SKYPE app and install SKYPE in the old way, you can reconfigure it, and it works just as well.
To add to the above post^^:
If either of the services are not running, it might simply just be because they need to be installed/configured. This is easy to do straight from the WampManager Icon.
If Apache is not running:
WampManager Icon -> Apache -> Service -> Install Service
You should get a command prompt pop-up if port 80 is free (if not, see above post):
'Your port 80 is available. Install will proceed. Press Enter to continue...'
If MySQL is not running:
WampManager Icon -> MySQL -> Service -> Install Service
Do that for one or both services then:
WampManager Icon -> Restart All Services
The icon should now turn green 🙂
I ran into this same problem this morning but none of the answers above provided me with the solution.
I realised eventually that my issue was because I had changed the DocumentRoot to a subfolder of the www directory, as I had previously been running a Symfony2 project inside www.
With the new project I am working on inside www, that old DocumentRoot dir did not exist any more so Apache failed to start.
wampserver -> Apache -> httpd.conf, then look for “DocumentRoot” and make sure the directory it points to exists or else change it to one that does.
Thank you to RiggsFolly, it was because of your hint about the Event Viewer above that I found the issue.
Wamp server default disk is
"C://" if you isntall it to another disk for ex
you will see errors
change in line 23 to :
Alias /icons/ "g:/Apache24/icons/"
<Directory "g:/Apache24/icons"> Options Indexes MultiViews AllowOverride None Require all granted </Directory>
- Restart All services. Done. Resolved
If you have gone through all of the above, like “I” did, and still get the Orange icon, and, when you test Port 80 you get “Apache”, look at the file:
c:/wamp/bin/apache/apache2.4.9/conf/httpd.conf (your apache version number may differ).
In the file, about line # 62, you’ll find a note saying to fill in this:
Change this to Listen on specific IP addresses as shown below to
prevent Apache from glomming onto all bound IP addresses.
I changed that to match my localhost IP address and when I restarted Wamp, it quickly went from Red to Green. Success!…3 hours later….
If you are using wampserver 3 (it’s awesome! worked out of the box for me until I broke it, recommend uninstalling wampserver 2 and getting it), try these fixes:
click wampserver icon > apache > service administration > install service (then restart all services)
right click wampserver icon > Tools > Check httpd.conf syntax (then fix the issue it identifies and restart all services, likely it’s bad syntax in your virtual hosts file)
right click wampserver icon > Tools > test port 80 (you likely have skype turned on or something else, turn it off and restart all services)
These 3 will probably fix problems with most new installs (other than a windows 10 conflict as you can read solutions to in other answers here Upgraded to Windows 10 and now WAMP won't work), if not, try the other new tools wampserver now includes in the same menu.
After removing the innodb_additional_mem_pool_size=4M from my.ini and killing that process that used the port that Mysql wanted I managed it to go.
1) The quick solution: Comment the line
in the service’s ‘my.ini’ file,
2) exclude the option from the 5.7.4 default config file or
3) un-unknow the variable to mysql 😉
Use number 1, remove the whole line.
Save to my.ini.
Kill the process if you have one running (look at them with resmon.exe and kill them with command taskkill /pid pid-of-process /f), then start wampmysql and your icon should turn green.
If you have installed both Wampmanager and also Bitnami’s wampstack on your Windows box (like I had done), make sure Bitnami has not been set to automatically start its wampstackApache and wampstackMySQL services at startup.
To check/fix this, click: Start–>Run and then type services.msc and click Ok.
Select Services in the list on the left and sort the services on Name. Scroll to the “w’s”. If wampstackApache and/or wampstackMySQL services are already started, right-click and stop both. Then Restart All Services from the Wampmanager W icon in the windows desktop services tray. The W should go green.
If this was your problem you can change the default startup behavior to manual start wampstackApache and wampstackMySQL in their Properties tabs.
- go to C:\wamp\bin\mysql\mysql5.6.17
- look for “my.ini”; right click to edit it
- use your favorite editor (notepad++, jedit…)
- look for
3306and change it to
- restart all the services and it should work 🙂
It can happen because of one of the three reasons:-
1) Missing VC++ installation: Install All versions of VC++ redistribution packages VC9, VC10, VC11, VC13, VC14 and VC15. See the link provided at the end for download link. If you have a 64-bit Windows, you must install both 32 and 64bit versions of each VisualC++ package, even if you do not use Wampserver 64 bit.
2) You forgot to provide Admin Privileges to WAMP Server : Launch and Install with the “Run as administrator” option, very important.
3) WAMP, IIS and Skype fighting over same port :
- Close Skype or force not to use port 80: http://forum.wampserver.com/read.php?2,134915
- Disable IIS: http://forum.wampserver.com/read.php?2,134915
VC9 Packages (Visual C++ 2008 SP1)
VC10 Packages (Visual C++ 2010 SP1)
VC11 Packages (Visual C++ 2012 Update 4)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page: http://www.microsoft.com/en-us/download/details.aspx?id=30679
VC13 Packages] (Visual C++ 2013)
The two files VSU4\vcredist_x86.exe and VSU4\vcredist_x64.exe to be download are on the same page: https://www.microsoft.com/en-us/download/details.aspx?id=40784
VC14 Packages (Visual C++ 2015 Update 3)
The two files vcredist_x86.exe and vcredist_x64.exe to be download are on the same page: