莫菲    

xampp使用问题 Error: Apache shutdown unexpectedly

8年前发布  · 1126 次阅读
  xampp 

1.安装完成之后apache无法启动:

情景:在独立安装环境后,出现问题,后卸载使用集成环境xampp,出现apache无法启动情况:

打开命令提示符:输入:

netstat -ano

找到 0.0.0.0:80或:

记下进程号,打开任务管理器,点击“进程” 点击“查看”->"选择列" 勾选进程标志号:

结束掉占用的进程

2. 安装成功后,浏览器输入localhost:

<Directory />
	Options FollowSymLinks
	AllowOverride All
	Order deny,allow
	allow from all 
</Directory>

除了开rewrite模块外,还要允许相应的权限,如上述代码。

 ---------------------------------------------------------------

又遇到apache无法启动的情况,查半天是因为安装了 vmware的原因

http://stackoverflow.com/questions/17946150/apache-is-not-running-from-xampp-control-panel-error-apache-shutdown-unexpect

--------------------------------------------

I have installed VMWare Workstation. So, It was causing the error.

Services.msc and stopped the 'Workstation' Services.

This has solved my problems.

Thanks

-------------------------