Centos – How to tell what version of apache I’m running

apache-httpdcentosversion

I know about the phpinfo() way but is there any other way? I'm using CentOS and I can't find the httpd executable to run httpd -v.

Best Answer

Either rpm -q httpd or /usr/sbin/httpd -v should work.