Title: How To Find Apache Version Installed Linux Windows Server
Description: how to find apache version installed linux windows server General Errors
Tags: how, to, find, apache, version, installed, linux, windows, server
Info: This Post Has Been Viewed 67353 Times SinceMon Jul 31, 2006 6:21 pm Author estabol With 22 Replies #93

How To Find Apache Version Installed Linux Windows Server

How can I find out which version of Apache I have installed in my Linux (or Windows) web server I leased from you?
Comments (22)
View Top Comments
Leave Your Comments...
#1
Anonymous:
13 seconds ago
#182539
Anonymous Tue May 08, 2012 10:35 am
Nobody knows where the hell httpd is.
Even whereis.
All *nix os'es are loveed up!!!
Use gui tools ffs!
#2
vijaya:
4 weeks ago
#180429
vijaya Mon Apr 09, 2012 4:52 pm
Thanks guys,i could find Apache version I was running on my machine
#3
jake:
1 month ago
#179030
jake Fri Mar 23, 2012 8:17 pm
what command do i run to check what webserver my vps is running on? i have centos ..
#4
Arun:
2 months ago
#177856
Arun Tue Mar 06, 2012 4:21 pm
rpm -aq|grep -i http
#5
2
Sunil:
2 months ago
#177794
Sunil Mon Mar 05, 2012 8:01 pm
Thanks Sunil
#6
1
Sunil:
2 months ago
#176296
Sunil Wed Feb 15, 2012 10:07 am
I tried this -

rpm -qi httpd
#7
harish:
4 months ago
#171886
harish Thu Dec 15, 2011 10:46 pm
where the apache releted folders r present in linux.,how can i start with.im beginner
#8
Lajbi:
7 months ago
#167021
Lajbi Wed Sep 21, 2011 8:22 pm
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
#9
sridhar:
3 years ago
#98289
sridhar Thu Mar 26, 2009 1:01 am
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
#10
1
Niket:
3 years ago
#96603
Niket Tue Mar 10, 2009 1:18 am
paul blue commentr works for me, thanks a lot
#11
2
Zaheer:
3 years ago
#89023
Zaheer Tue Jan 06, 2009 6:33 am
you can find the apache version running on linux by typing the following command
httpd -v
#12
Paul:
3 years ago
#84389
Paul Tue Dec 02, 2008 7:56 am
root at ***:/usr/local/apache/conf# apache2 -v
server version: apache/2.2.8 (ubuntu)
server built: jun 25 2008 13:54:13
#13
1
Mojowen:
3 years ago
#53059
Mojowen Thu May 08, 2008 2:18 am
thanks, both great suggestions
#14
2
bogati:
4 years ago
#35534
bogati Wed Jan 09, 2008 12:06 am
thanks

it works to findout version.
#15
3
david:
4 years ago
#31336
david Tue Dec 11, 2007 4:20 pm
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

#16
samir:
4 years ago
#30120
samir Sat Dec 01, 2007 9:56 pm
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
#17
Rakesh:
4 years ago
#11718
Rakesh Fri Jul 20, 2007 2:59 am
thanks but i want to know where the apache related folder placed and clearly about the execution of the apache server...

regards,
rakesh
#18
Yusuf:
5 years ago
#1832
Yusuf Thu Apr 26, 2007 4:38 am
Thanks!

Noticed that this command will work only if you are in the bin directory of apache
eg /XYZ/apache/bin
#19
estabol:
5 years ago
#1569
estabol Mon Apr 16, 2007 11:43 am
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
#20
Albert:
5 years ago
#1562
Albert Mon Apr 16, 2007 2:54 am
displayed command not found when executing command"httpd -v"
Leave Your Comments...
Pages: 12
Share
| More