apxs binary missing for apache ( CentOS 6)

‘missing Apache httpd server packages.’ % APXS)

RuntimeError: The ‘apxs’ command appears not to be installed or is not executable. Please check the list of prerequisites in the documentation for this package and install any missing Apache httpd server packages.

To solve the above error , you need to install http-devel package :
# yum install httpd-devel