XAMPP on Debian7 starting Apache fails

混江龙づ霸主 提交于 2019-12-03 09:00:20

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.

Another Way .Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the command(s) below:

  1. sudo /etc/init.d/apache2 stop
  2. sudo /etc/init.d/mysql stop
  3. sudo /etc/init.d/proftpd stop
  4. sudo /opt/lampp/lampp start
khaledxe

First you should stop your apache server:

sudo /etc/init.d/apache2 stop

Then stop mysql:

sudo /etc/init.d/mysql stop

sudo /etc/init.d/proftpd stop

At last restart your lampp server:

sudo /opt/lampp/lampp restart

This also works on UBUNTU 14.04.

1.Open the file /opt/lampp/etc/httpd.conf Search the "Listen 80" and change it to some other port (e.g. Listen 2145) (Line No. 40)
2. Open the file /opt/lampp/etc/extra/httpd-ssl.conf Search the "Listen 443" and change it to some other port (e.g. Listen 16443) (Line No. 39)
3. Open the file /opt/lampp/lampp Search for the port "testport 80" and replace it to "testport 2145".
4.Also change the "testport 443" to "testport 16443". (Happens to be the Line No. 197, 214)
5.Now go and run /opt/lampp/lampp start. (It should work now).

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