这是我关于apache错误的详细信息,希望你能找出问题所在
apache2.service - The Apache HTTP Server
Loaded: loaded (/lib/systemd/system/apache2.service; disabled; vendor preset: enabled)
Drop-In: /lib/systemd/system/apache2.service.d
└─apache2-systemd.conf
Active: failed (Result: exit-code) since Tue 2020-02-25 12:06:14 +0545; 13min ago
Process: 25134 ExecStart=/usr/sbin/apachectl start (code=exited, status=1/FAILURE)
最佳答案
请先检查:/var/log/apache2/error.log
在你理解了哪个程序使用了端口 之后80 ,您可以选择是否需要结束它,或者如果您有不受支持的设置并且无法使用 Apache 在端口 80
检查:- netstat -anp | grep ':80\s'
关于apache - 为什么我在 ubuntu 中运行 apache2 时遇到问题?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/60388787/