How To Find Apache Version Installed Linux Windows Server

Forums » General Errors » How To Find Apache Version Installed Linux Windows Server
[Answered] - this is the process to find out what version of apache web server you have installed in your linux system. this article shows you the shell commands you can execute in the terminal to display the current apache web server version installed.
Hello,

Recently i started to play around with linux. So far I've come a long way.

I have started playing with a web server. Mainly Apache and Linux,

How can I find out which version of Apache I have installed in my Linux (or Windows) web server I leased from you?
estabol
You can find your Linux Apache version by login into your server through SSH and send the following command:

CODE:
httpd -v


If you want more information, please see this thread:
http://www.wallpaperama.com/forums/how-to-find-what-apache-version-is-installed-in-my-server-t24.html
http://wallpaperama.com/forums/how-to-find-apache-version-installed-linux-windows-server-t93.html
tom
thanks, this is a great way to get apache version installed linux shell command To check apache version give httpd -v command or type http://ip/xyz you will get apache version
Albert
displayed command not found when executing command"httpd -v"
estabol
what distribution are you using. I think command is good for fedora or redhat distributions?

you can also find out by creating a phpinfo.php file and it will show you what apache server version you have on your server:

phpinfo
Yusuf
Thanks!

Noticed that this command will work only if you are in the bin directory of apache
eg /XYZ/apache/bin
Rakesh
thanks but i want to know where the apache related folder placed and clearly about the execution of the apache server...

regards,
rakesh
samir
i ran "httpd -v" to check the apache version of my linux machine, but it did not work. it showed following:

httpd -v
-bash: httpd: command not found

could you tell me what is wrong and what is the solution?

thank you,

regards,

samir gandhi
david
the path of the http command depends on your server.

for me it's

cd /usr/bin
./httpd -v

otherwise you can do what estabol recomended.

create a php file named "phpinfo.php" and put the phpinfo(); command in there.

php.about /od/learnphp/p/php_info.htm

bogati
thanks

it works to findout version.
Mojowen
thanks, both great suggestions
Paul
root at ***:/usr/local/apache/conf# apache2 -v
server version: apache/2.2.8 (ubuntu)
server built: jun 25 2008 13:54:13
Zaheer
you can find the apache version running on linux by typing the following command
httpd -v
Niket
paul blue commentr works for me, thanks a lot
sridhar
hi all,
i want to set up svn subversion in my linux.
i have installed httpd rpm. but i did not get any apache2 folder to start apache. what i have to do.

please help me out. thanks in advance.
sridhar
Lajbi
You have to search path to httpd command. For that purpose you can use command: whereis httpd Command returns: httpd: /opt/apache/bin/httpd /opt/apache/man/man8/http you can use httpd command. /opt/apache/bin/ -v Server version: Apache/1.3.19(Unix) Serve built: Jun 25 2001 4:46:00
harish
where the apache releted folders r present in linux.,how can i start with.im beginner
Sunil
I tried this - rpm -qi httpd
Sunil
Thanks Sunil
Arun
rpm -aq|grep -i http
jake
what command do i run to check what webserver my vps is running on? i have centos ..
vijaya
Thanks guys,i could find Apache version I was running on my machine
Anonymous
Nobody knows where the hell httpd is. Even whereis. All *nix os'es are loveed up!!! Use gui tools ffs!
sree
/usr/sbin/httpd

will work check it
Title: How To Find Apache Version Installed Linux Windows Server [2572]
Tags: apache version installed linux windows server web
By
Comments 22
Visits 69704