查看apache,nginx,mysql,linux,php版本

查看apache版本
/usr/sbin/apachectl -v
httpd -v
安装目录,使用apachectl -c
 
mysql版本查看
mysql –help | grep Distrib
mysql -V
mysql/bin/mysql -u root -p -e “select version()”
/bin mysqladmin version
 
查看linux版本
 lsb_release -a
head -n1 /etc/issue
cat /etc/redhat-release (redhat)
rpm -q redhat-release        (redhat)
 
查看内核版本
cat /proc/version
uname -a
uname -r
 
查看php版本
php -v
phpinfo();
 
查看nginx版本

nginx -V

 

Linux下查看nginx,apache,mysql,php的编译参数
 
1、nginx编译参数:
#/usr/local/nginx/sbin/nginx -V

2、apache编译参数:
# cat /usr/local/apache/build/config.nice

3、php编译参数:
# /usr/local/php/bin/php -i |grep configure

4、mysql编译参数:
# cat /usr/local/mysql/bin/mysqlbug|grep configure

An apple spokeswoman declined to comment on the case All the major challenges, whether http://www.order-essay-online.net in health, environment, poverty, or peace and security, require cooperation across borders and boundaries

标签:
本文连接地址: http://www.fresker.com/archives/381 (转载注明出处)

回复

目前暂无评论

发表评论

你需要 登录 发表评论.