Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine version of Apache?

Status
Not open for further replies.

burritonator

IS-IT--Management
Jun 15, 2004
133
0
0
US
I know this is a very basic question, but on Mac OSX 10.2.8, how can I determine what version of Apache is running?

Thanks
 
burritonator,

A few ways off the top of my head:

1. You could check the Apache log files, or
2. You could try surfing to but this will only work if you've enabled it in your httpd.conf, or
3. You could have another site request this information from your server. Dnsreport.com and Newcraft.com will do this, among others.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Try 'httpd -v' in the apache bin directory. This will display the version and when it was built. There's some other helpful options like 'httpd -l' will list all the modules that are enabled and built in staticly.
 
hi, where is apaches' bin? i am running redhat 8.0 and i got

/var/httpd/
/etc/httpd/

but neither has a bin nor the httpd -v works at both directories.

i guess it must be somewhere else but i am clueless... :(

thanks for shedding some light for me...
 
Thanks for the help, everyone. I was installing PHP on the system in question as well, and I discovered after I posted this question that creating a PHP page containing the command "<?php phpinfo() ?>" to display the PHP configuration info will also display the information for Apache and MySQL.

Thanks
 
burritonator,

phpinfo() will also work. It just proves that there's more than one way to skin a cat.

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top