PDA

View Full Version : How can I see what version of Apache2 I'm using?


edge
5th July 2006, 17:32
Simple one... How can I see what version of Apache2 I'm using on my server?
When I ask with PHP, it's showing me: 'Apache Version Apache/1.3.34 (Unix) PHP/5.1.4 mod_ssl/2.8.25 OpenSSL/0.9.8a '

For sure I'm not using 1.3.34 .. or am I? How can I tell???

platd
5th July 2006, 18:19
$ apachectl -v
Server version: Apache/2.0.48
Server built: Jan 30 2004 18:16:23

edge
5th July 2006, 18:40
$ apachectl -v
Server version: Apache/2.0.48
Server built: Jan 30 2004 18:16:23

Hmm am I missing something?


apachectl -v
bash: apachectl: command not found


** edit

Error.. It's working but I need to use apache2ctl -v


apache2ctl -v
Server version: Apache/2.0.54
Server built: Sep 5 2005 11:15:09


apache2 -v does also work!?


apache2 -v
Server version: Apache/2.0.54
Server built: Sep 5 2005 11:15:09


I'm confused!

falko
6th July 2006, 13:44
You can use both commands. :)