我安装了个xampp,但是说我Apache启动失败
Tofloor
poster avatar
ss******97@vip.qq.com
deepin
2017-07-07 05:38
Author

我改了端口也不行

Reply Favorite View the author
All Replies
avatar
guoshuang
deepin
2017-07-07 17:22
#1
地址 https://askubuntu.com/questions/ ... mpp-on-ubuntu-11-10
This is a peculiar error you will get if you run XAMPP in LINUX.
If you get the error "XAMPP: Another web server daemon with SSL is already running" when you run "./lampp start". Simply follow the steps below to get rid of this error:

1. Open the file /opt/lampp/etc/httpd.conf

2. Search the "Listen 80" and change it to some other port (e.g. Listen 2145)  (Line No. 40)

3. Open the file /opt/lampp/etc/extra/httpd-ssl.conf

4. Search the "Listen 443" and change it to some other port (e.g. Listen 16443) (Line No. 39)

5. Open the file "/opt/lampp/lampp"

6. Search for the port "testport 80" and replace it to "testport 2145". Also change the "testport 443" to "testport 16443". (Happens to be the Line No. 197, 214)

7. Now go and run "/opt/lampp/lampp start". (It should work now).
Reply View the author
avatar
^9星守辰^
Moderator
2017-07-07 17:44
#2
你这个貌似是已经启动了一个Apache了吧,你试试sudo pkill apache然后再启动试试呢
Reply View the author
avatar
ss******97@vip.qq.com
deepin
2017-07-07 19:43
#3
https://bbs.deepin.org/post/142135
地址 https://askubuntu.com/questions/89156/cannot-start-xampp-on-ubuntu-11-10
This is a peculiar er ...

Thx. I didn't do the No.5 and No.6 before. Now it's solved.
Reply View the author