您的位置:首页 > 运维架构 > Apache

xampp端口占用问题 不能打开apache

2015-07-30 01:40 731 查看
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.conf2. 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.conf4. 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).
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: