From owner-freebsd-questions Tue Jun 18 8:48:36 2002 Delivered-To: freebsd-questions@freebsd.org Received: from clientmail.ehsrealtime.com (eris.ehsrealtime.com [213.52.146.130]) by hub.freebsd.org (Postfix) with ESMTP id 96B3537B411 for ; Tue, 18 Jun 2002 08:47:32 -0700 (PDT) Received: from set.ehsrealtime.com ([213.52.146.197]) by clientmail.ehsrealtime.com with esmtp (Exim 3.33 #2) id 17KLCX-000FCu-01 for questions@freebsd.org; Tue, 18 Jun 2002 16:47:25 +0100 Received: from waynep by set.ehsrealtime.com with local (Exim 3.34 #1) id 17KMCV-0000O3-00 for questions@FreeBSD.ORG; Tue, 18 Jun 2002 16:51:27 +0000 From: Wayne Pascoe To: questions@FreeBSD.ORG Subject: Re: Quickest Command for v. of apache, php, etc. References: <001801c216d6$ed720440$7b01a8c0@afi> <3D0F4C2B.8010203@potentialtech.com> <002201c216dd$47c10210$7b01a8c0@afi> Date: 18 Jun 2002 16:51:26 +0000 In-Reply-To: <002201c216dd$47c10210$7b01a8c0@afi> Message-ID: Lines: 31 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.4 (Civil Service) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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