Apache in xampp failing

狂风中的少年 提交于 2019-12-11 08:37:41

问题


So I'm trying to install XAMPP on my new windows 7 box. It's failing with the below error message. I've enabled debug for reference.

I've checked netstat, there are no port conflicts. Futher, I've made sure that VS 2008 redist is installed (x64, which is correct for my system). I'm not sure where to go from here.

Attempting to start Apache app... Executing "c:\xampp\apache\bin\httpd.exe" Return code: 0 Status change detected: running Status change detected: stopped Apache] Error: Apache shutdown unexpectedly. Apache] This may be due to a blocked port, missing dependencies, improper privileges, a crash, or a shutdown by another method. Check the "/xampp/apache/logs/error.log" file and the Windows Event Viewer for more clues


回答1:


In my own case it was because after installing, windows opened automatically a 'cmd' console, closing that console made apache work fine.



来源:https://stackoverflow.com/questions/15623163/apache-in-xampp-failing

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!