Fail to start Apache due to port occupied

At error log,

make_sock: could not bind to address 0.0.0.0:443 or 80

The problem is with the port conflict Verify with lsof command:
#lsof -i :80

Sample output
bash 19089 root 18u IPv4 127053 TCP *:http (LISTEN)

Kill conflict process
#kill -9 19089

Check again
#lsof -i :80

Start Apache
#apachectl start

Comments