如何查看 Apache 的版本

查看 Apache 服务器版本的命令行为:

httpd -v

或者

apachectl -v

例如:用 Xshell 连接到服务器后,输入:httpd -v 或者:apachectl -v 返回:

Server version: Apache/2.4.16 (Unix)
Server built: Sep 9 2015 15:23:44

 

posted @ 2016-12-01 09:11  幻月无名  阅读(7330)  评论(0编辑  收藏  举报