FreeBSD下查看各软件版本命令

查看FreeBSD版本: uname -a

root# uname -a

FreeBSD power 8.1-RELEASE FreeBSD 8.1-RELEASE #0: Mon Jul 19 02:36:49 UTC 2010 [email protected]:/usr/obj/usr/src/sys/GENERIC amd64

查看apache版本: apachectl -v
root#apachectl -v
Server version: Apache/2.2.15 (FreeBSD)
Server built: Nov 26 2010 16:07:59

查看php版本:php -v
root#php -v


Copyright (c) 1997-2010 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2010 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

查看php模块:php -m


查看mysql版本:mysql -V(大写V哦)

root#mysql -V

mysql Ver 14.14 Distrib 5.1.53, for portbld-freebsd8.1 (amd64) using 5.2

你可能感兴趣的:(FreeBSD)