我无法在ubuntu 14.04上启动Xampp

时间:2015-07-06 21:27:48

标签: linux apache ubuntu ubuntu-14.04

我已安装xampp-linux-x64-5.6.8-0-installer.run并在我输入时 /opt/lampp/lampp start
启动服务器我发现以下错误
enter image description here

我尝试按照命令检查状态 sudo /etc/init.d/apache2 status 我发现 * apache2 is not running 现在我试着检查端口
netstat -tunap | grep LISTEN 似乎80端口很忙。 enter image description here

我该怎么办Xampp?

3 个答案:

答案 0 :(得分:3)

试试这个:

第一

sudo /etc/init.d/apache2 stop

然后

sudo /opt/lampp/lampp start

答案 1 :(得分:1)

尝试此命令,我在ubuntu 18.04中尝试了该命令并工作了。 $ sudo apachetcl停止

如果不起作用,请尝试更改Apache尝试使用的端口。为此,您应该将/opt/lampp/etc/httpd.conf中对端口80的所有提及更改为未使用的某个端口,例如83。

答案 2 :(得分:0)

检查显示确切问题的apache error.log文件

opt/lamp/logs/apache/error.log
相关问题