本文介绍了Debian7 上的 XAMPP 启动 Apache 失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我在我的 debian 7 上安装 xampp,当我尝试启动它时,我收到一条错误消息 start apache fail
,我使用 ps -A 显示我是否运行了另一个 Web 服务,但我失败了.如何解决这个问题?
/opt/lampp/lampp 启动
正在为 Linux 1.8.2-2 启动 XAMPP...
XAMPP:启动 Apache...失败.
XAMPP:另一个 Web 服务器已经在运行.
XAMPP:正在启动 MySQL...好的.
XAMPP:正在启动 ProFTPD...好的.
解决方案
debian7启动时会启动apache2.所以你应该先停止它,而不是尝试启动lampp.
/etc/init.d/apache2 停止/opt/lampp/lampp 重启
这也许行得通.试试吧.
I install xampp on my debian 7,and when I try to start it, I have gotten an error message start apache fail
, I use the ps -A to show if I had run another web service ,but I failed.How to solve this issue?
/opt/lampp/lampp start
解决方案
when debian7 start,it will start apache2.so you should stop it first,than try to start lampp.
/etc/init.d/apache2 stop
/opt/lampp/lampp restart
that maybe work.try it.
这篇关于Debian7 上的 XAMPP 启动 Apache 失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!