The most upvoted answer did not work for me. Chances are that your default Apache install is PID 4 and that Apache is trying to use the already occupied port 80. Are these your symptoms? Chance are also that the default on //localhost is IIS. Is this also a symptom for you? If so, go to Control panel and disable IIS completely and reboot. Worked for me on Windows 11.