问题
I installed xamp 1.8.1 and when I went to start Apache in the control panel, I pressed start and 2 seconds later it stops running. The control panel says this:
09:42:54 م [Apache] Error: Apache shutdown unexpectedly. 09:42:54 م [Apache] This may be due to a blocked port, missing dependencies, 09:42:54 م [Apache] improper privileges, a crash, or a shutdown by another method. 09:42:54 م [Apache] Check the "/xampp/apache/logs/error.log" file 09:42:54 م [Apache] and the Windows Event Viewer for more clues
can anyone please tell me how I can fix this problem? I tried searching for the "/xampp/apache/logs/error.log" file, but I could not find it. Thank you, for any help.
回答1:
I found that this issue was being caused by a vmware hostd.exe listening on 443
ended that process in task manager and it started fine
check in taskmanager performance > resrouce monitor >listening ports for either 80 or 443
its likely either skype or some other network ssl service such as vmware listener or similar.
possibly need to look at what that vmware hostd.exe was for now!! but at least can get some work done.
回答2:
Apache use port 80. Before running it confirm that port 80 is not used by any other program. If you are running apache on windows with sql server installed. Go to services and stop the sql service and try starting apache.
来源:https://stackoverflow.com/questions/15623181/i-cannot-run-apache