{"id":3375,"date":"2020-02-11T21:58:32","date_gmt":"2020-02-11T21:58:32","guid":{"rendered":"https:\/\/lamp.ciscoar.com\/?page_id=3375"},"modified":"2020-02-11T22:30:34","modified_gmt":"2020-02-11T22:30:34","slug":"apache-version","status":"publish","type":"page","link":"https:\/\/lamp.ciscoar.com\/?page_id=3375","title":{"rendered":"Apache version"},"content":{"rendered":"\n<h2 class=\"wp-block-heading\">How to check Apache&#8217;s installed version?<\/h2>\n\n\n\n<p>If for any reason you find yourself in need to know the Apache&#8217;s installed version, then you can make use of the following CLI command.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">httpd -v<\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version.png\"><img loading=\"lazy\" decoding=\"async\" width=\"379\" height=\"266\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version.png\" alt=\"\" class=\"wp-image-3377\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version.png 379w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version-300x211.png 300w\" sizes=\"auto, (max-width: 379px) 100vw, 379px\" \/><\/a><figcaption>Checking Apache&#8217;s version<\/figcaption><\/figure><\/div>\n\n\n\n<h2 class=\"wp-block-heading\">Apache RPM package<\/h2>\n\n\n\n<p>The <strong>RPM <\/strong>(Red Hat Package Manager) package management tool also has a CLI command useful to check the specific package that was used to install Apache, you must use &#8220;query&#8221; option &#8220;-q&#8221; as shown below.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code lang=\"vim\" class=\"language-vim\">rpm -q httpd<\/code><\/pre>\n\n\n\n<div style=\"height:20px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><a href=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version-rpm.png\"><img loading=\"lazy\" decoding=\"async\" width=\"518\" height=\"225\" src=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version-rpm.png\" alt=\"\" class=\"wp-image-3383\" srcset=\"https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version-rpm.png 518w, https:\/\/lamp.ciscoar.com\/wp-content\/uploads\/2020\/02\/Apache-installed-version-rpm-300x130.png 300w\" sizes=\"auto, (max-width: 518px) 100vw, 518px\" \/><\/a><\/figure><\/div>\n\n\n\n<p>In addition to the Apache&#8217;s version you can see the Architecture (x86_64) and the Linux Distribution(CentOS).<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to check Apache&#8217;s installed version? If for any reason you find yourself in need to know the Apache&#8217;s installed version, then you can make use of the following CLI command. Apache RPM package The RPM (Red Hat Package Manager) package management tool also has a CLI command useful to check the specific package that &hellip; <\/p>\n<p class=\"link-more\"><a href=\"https:\/\/lamp.ciscoar.com\/?page_id=3375\" class=\"more-link\">Continue reading<span class=\"screen-reader-text\"> &#8220;Apache version&#8221;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-3375","page","type-page","status-publish","hentry"],"_links":{"self":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3375"}],"version-history":[{"count":13,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3375\/revisions"}],"predecessor-version":[{"id":3413,"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=\/wp\/v2\/pages\/3375\/revisions\/3413"}],"wp:attachment":[{"href":"https:\/\/lamp.ciscoar.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}