使用 apachectl -v 命令

root@jghost:~# apachectl -v
Server version: Apache/2.2.22 (Ubuntu)
Server built: Jul 12 2013 13:37:10