问题
I am trying to install wamp server (following is the exact setup name) on windows 7, 64Bit OS. But it never starts, icon stays in orange color meaning some services did not start.
wampserver2.2e-php5.3.13-httpd2.2.22-mysql5.5.24-x64
I did not find any solution.
No skype, port 80 is not in use.
In windows services, when I try to start wampapache service manually, it throws following error:
Windows could not start the wampapache service on Local Computer.
Error 1053: The service did not respond ot the start or control request in a timely fashion.
apache_error.log is empty.
Things use to work fine in windows XP.
回答1:
My solution to fix that problem was the following:
Start > search > cmd.exe (Run as administrator)
Inside the Command Prompt (cmd.exe) type:
cd c:/wamp/bin/apache/ApacheX.X.X/bin
httpd.exe -e debug
**Note that the ApacheX.X.X is the version of the Apache wamp is running.
This should output what the apache server is doing. The error that causes Apache from loading should be in there. My problem was that httpd.conf was trying to load a DLL that was missing or was corrupted (php5apache2_4.dll). As soon as I overwrote this file, I restarted Wamp and everything ran smooth.
回答2:
I solved the problem this way:
- On the orange WAMP icon, click Apache > Service > Test Port 80. Came back with "Port 80 not accessible -- (could be Skype)"
- Sign out from Skype and close program.
- Click orange icon and hit Apache > Service > Install Service
- Click orange icon and hit Apache > Service > Start Service
- Click orange icon and hit Put Online
- Icon turns green and service is started and online
回答3:
Follow these steps (taken from this Youtube video).
- Quit Skype
- Uninstall IIS
- Go to control panel
- Refer to PROGRAMS AND FEATURES
- Go to TURN WINDOWS FEATURES ON OR OFF
- Look for INTERNET information service
- Uninstall
回答4:
You just need Visual C++ runtime 2015 installed, if you change your php version to the newest version you will get the error for it. this is why apache has php dependency error.
回答5:
Check your apache error log. I had this error "[error] (OS 5)Access is denied. : could not open transfer log file C:/wamp/logs/access.log. Unable to open logs" Then I rename my "access.log" to other name, you can delete if you don't need/never see your access log. Then restart your apache service. This happen because the file size too big. I think if you trying to open this file using notepad, it will not open, I tried to open that before. Hope it help.
回答6:
You can open the Windows event viewer to try to get more information about the errors : in the "Application" section of the Windows logs, there is a good chance you will find error messages from Apache. (At least I found what was wrong in my case there !)
回答7:
I navigated to C:\wamp\bin\apache\Apache2.4.4\bin run httpd and the apache (pink and white icon) loads into the system tray. The orange W also turned green.
The apacheapache service wasn't running, it wasn't on the services list (start > type services) which is why it's orange not green.
Solution: A re-install worked for me.
My version is: WAMPSERVER (64Bits & PHP 5.4) 2.4 Apache : 2.4.4 MySQL : 5.6.12 PHP : 5.4.12 PHPMyAdmin : 4.0.4 SqlBuddy : 1.3.3 XDebug : 2.2.3 http://www.wampserver.com/en/
回答8:
For me it got resolved using following link: http://viralpatel.net/blogs/wamp-server-not-getting-started-problem/
where i was using skype and Wamp both installed and running
来源:https://stackoverflow.com/questions/12303216/wamp-server-does-not-start-windows-7-64bit