Skip site navigation (1)Skip section navigation (2)
Date:      18 Jun 2002 16:51:26 +0000
From:      Wayne Pascoe <freebsd@penguinpowered.org.uk>
To:        questions@FreeBSD.ORG
Subject:   Re: Quickest Command for v. of apache, php, etc.
Message-ID:  <m23cvk5y41.fsf@set.ehsrealtime.com>
In-Reply-To: <002201c216dd$47c10210$7b01a8c0@afi>
References:  <001801c216d6$ed720440$7b01a8c0@afi> <3D0F4C2B.8010203@potentialtech.com> <002201c216dd$47c10210$7b01a8c0@afi>

next in thread | previous in thread | raw e-mail | index | archive | help
<lists@brenius.com> writes:

> > Apache should be included in the output of pkg_version.  Unless
> > you installed it manually, in which case it wouldn't be in the
> > package database.
> 
> I was not the installer. Since the it must have been installed
> manually, what is the next best way to figure out what version of
> Apache, php, mysql, etc. are installed?

telnet to your apache port and do
HEAD / HTTP/1.0


you should then get something like Server:
Server: Apache/1.3.22 (Unix) ApacheJServ/1.1.2

The php version will normally be in there as well.

As for things like MySQL which aren't part of the Apache http server,
you'll have to check the versions manually by doing
./binary_name --version
eg 
mysql --version

HTH

-- 
- Wayne Pascoe  -  http://www.penguinpowered.org.uk/wayne/
    Intestines inside
    

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?m23cvk5y41.fsf>