我在我的Ubuntu版本中安装了XAMPP。我启动apache:
sudo /opt/lampp/lampp start
我在我的控制台中读到了这个错误:
Another web server is already running
所以我想修改端口的值httpd.conf
和httpd-ssl.conf
,详细我有mofidy端口:
80--->1580 (httpd.conf)
443-->4443 (httpd-ssl.conf)
我关闭了apache:
sudo /etc/init.d/apache2 stop
在我做之后:
sudo /opt/lampp/lampp start
但我得到了:
[APACHE]另一个Web服务器已在运行
有人可以帮帮我吗?
sudo /etc/init.d/apache2停止
sudo /etc/init.d/mysql停止
sudo /etc/init.d/proftpd停止
然后重启
sudo / opt / lampp / lampp start
你可以试试 :
sudo su
输入您的密码:
/etc/init.d/apache2 stop
[ok]停止apache2(通过systemctl):apache2.service。
之后,您可以尝试键入以下命令再次运行它:
sudo /opt/lampp/xampp start
启动XAMPP for Linux 7.2.9-0 ...
XAMPP:启动Apache ......好的。
XAMPP:启动MySQL ......好的。
XAMPP:启动ProFTPD ......好的。
我有这样的问题,我尝试了一切。最后,我为Apache禁用了ssl并且它工作正常。
[root@localhost lampp]# /opt/lampp/xampp disablessl