check if its already installed
# httpd -v (you may get command not found ,so try this too)
# whereis httpd (output in my machine /usr/sbin/httpd ) so using the output where the command is
# /usr/sbin/httpd -v
This should give some output if its already installed like
Server version: Apache/2.2.3
Server built: May 2 2012 13:21:52
====Now checking part is done =============
Configure
# sudo /etc/httpd/conf/httpd.conf
It throws this error
Starting httpd: (13)Permission denied: make_sock: could not bind to address [::]:80
(13)Permission denied: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs [FAILED]
The problem here is that the port is used by some other service or something ,so either you have to kill it or configure new port on which httpd can be used or apache.(I prefer the latter as no risk in that)
For killing
# ps -aux | grep httpd
Find the pid which is using this
# kill -9
Configuring new port