I'm running a Vesta Control Panel. After I updated Ubuntu sever packages and restarted the server, my Apache wouldn't start. When I checked what is occupying the port 80, it was nginx. How do I fix this problem permanently?
I was able to fix this temporarily by stopping nginx service and starting the apache service.
I'm not sure which files to edit to fix this problem. Any help appreciated
Edit: Ubuntu 18.04.3 (LTS) x64
nginx
. In that case it is best to uninstall it. Try this:sudo apt remove nginx
and see what other packagesapt
will uninstall. If no package rings a bell, you probably don't neednginx
and it is safe to pressy
. Otherwise, or if you're unsure, pressn
.