{"id":696,"date":"2024-07-22T18:41:46","date_gmt":"2024-07-22T13:11:46","guid":{"rendered":"https:\/\/vpswebhostingindia.com\/blog\/?p=696"},"modified":"2024-07-22T19:13:05","modified_gmt":"2024-07-22T13:43:05","slug":"how-to-check-apache-version","status":"publish","type":"post","link":"https:\/\/vpswebhostingindia.com\/blog\/how-to-check-apache-version\/","title":{"rendered":"How to Check Apache Version ?"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">Check Apache Version, Apache is a open-source <a href=\"https:\/\/www.vpswebhostingindia.com\/vps-hosting\/\">web server<\/a> compatible with multiple operating systems and programming languages. Developed by the Apache Software Foundation, it forms a key component of the LAMP stack. To ensure the best performance, security, and software compatibility, regularly update your Apache web server to the latest version.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#to-check-apache-version-via-the-command-line-interface-cli-follow-these-steps\">To check Apache version via the command line interface (CLI), follow these steps:<\/a><\/li><li><a href=\"#open-the-terminal\">Open the Terminal:<\/a><\/li><li><a href=\"#run-the-apache-version-command\">Run the Apache version command:<\/a><\/li><li><a href=\"#find-the-apache-version-via-whm-web-host-manager\">Find the Apache Version via WHM (Web Host Manager)<\/a><\/li><li><a href=\"#log-in-to-whm\">Log in to WHM:<\/a><\/li><li><a href=\"#navigate-to-the-server-information-to-check-apache-version\">Navigate to the &#8220;Server Information&#8221;to Check Apache Version:<\/a><\/li><li><a href=\"#locate-the-apache-version\">Locate the Apache Version:<\/a><\/li><li><a href=\"#navigate-to-apache-status\">Navigate to &#8220;Apache Status&#8221;:<\/a><\/li><li><a href=\"#check-apache-version\">Check Apache Version:<\/a><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"to-check-apache-version-via-the-command-line-interface-cli-follow-these-steps\">To check Apache version via the command line interface (CLI), follow these steps:<\/h2>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"open-the-terminal\"><strong>Open the Terminal:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On your local machine or SSH into your server.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"437\" height=\"433\" src=\"http:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/05\/image-10.png\" alt=\"Check Apache Version\" class=\"wp-image-613\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/05\/image-10.png 437w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/05\/image-10-202x200.png 202w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/05\/image-10-150x150.png 150w\" sizes=\"auto, (max-width: 437px) 100vw, 437px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"run-the-apache-version-command\"><strong>Run the Apache version command:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are on a Debian-based system (e.g., Ubuntu) to Check Apache Version<\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\">apache2 -v<\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example Output:<\/strong><\/p>\n\n\n\n<p class=\"wp-block-paragraph\">shCopy code<code>Server version: Apache\/2.4.41 (Ubuntu)<br>Server built:   2020-08-12T19:46:17<\/code><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>If you are on a Red Hat-based system (e.g., CentOS) to Check Apache Version<br><\/li>\n<\/ul>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>httpd -v<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>Example Output:<\/strong><\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">shCopy code<code>Server version: Apache\/2.4.37 (centos)\nServer built:   Oct 21 2020 17:36:13\n<\/code><\/pre>\n\n\n\n<p class=\"wp-block-paragraph\">These commands will display the version of Apache currently installed on your system.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"find-the-apache-version-via-whm-web-host-manager\">Find the Apache Version via WHM (Web Host Manager)<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">To find the Apache version via WHM (Web Host Manager), follow these steps:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"log-in-to-whm\"><strong>Log in to WHM:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Access WHM by entering your server&#8217;s IP address followed by <code>:2087<\/code> (e.g., <code>https:\/\/your-server-ip:2087<\/code>) in your web browser.<\/li>\n\n\n\n<li>Enter your WHM username and password.<\/li>\n<\/ul>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"531\" height=\"345\" src=\"http:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/04\/image.png\" alt=\"Exim port in WHM\" class=\"wp-image-526\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/04\/image.png 531w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/04\/image-300x195.png 300w\" sizes=\"auto, (max-width: 531px) 100vw, 531px\" \/><\/figure>\n<\/div>\n\n\n<h2 class=\"wp-block-heading\" id=\"navigate-to-the-server-information-to-check-apache-version\"><strong>Navigate to the &#8220;Server Information&#8221;to Check Apache Version:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the WHM interface, look for the &#8220;Server Status&#8221; section in the left-hand menu.<\/li>\n\n\n\n<li>Click on &#8220;Server Information.&#8221;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"177\" height=\"400\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/server-status-category-whm.png\" alt=\"\" class=\"wp-image-697\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/server-status-category-whm.png 177w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/server-status-category-whm-89x200.png 89w\" sizes=\"auto, (max-width: 177px) 100vw, 177px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"locate-the-apache-version\"><strong>Locate the Apache Version:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>On the &#8220;Server Information&#8221; page, you will see various details about your server.<\/li>\n\n\n\n<li>Look for the &#8220;Apache Version&#8221; or &#8220;httpd&#8221; entry to find the version of Apache currently running on your server.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"768\" height=\"467\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/cpanel.gif\" alt=\"\" class=\"wp-image-702\"\/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively:<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"navigate-to-apache-status\"><strong>Navigate to &#8220;Apache Status&#8221;:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>In the WHM interface, search for &#8220;Apache Status&#8221; using the search bar at the top left.<\/li>\n\n\n\n<li>Click on &#8220;Apache Status&#8221; under the &#8220;Server Status&#8221; section.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"270\" height=\"204\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache-status-whm.png\" alt=\"\" class=\"wp-image-698\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache-status-whm.png 270w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache-status-whm-265x200.png 265w\" sizes=\"auto, (max-width: 270px) 100vw, 270px\" \/><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"check-apache-version\"><strong>Check Apache Version:<\/strong><\/h2>\n\n\n\n<ul class=\"wp-block-list\">\n<li>The Apache status page provides detailed information about the current state of the Apache server, including the version number at the top of the page.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"603\" height=\"208\" src=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache.png\" alt=\"\" class=\"wp-image-703\" srcset=\"https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache.png 603w, https:\/\/vpswebhostingindia.com\/blog\/wp-content\/uploads\/2024\/07\/apache-300x103.png 300w\" sizes=\"auto, (max-width: 603px) 100vw, 603px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">By following these steps, you can easily find the Apache version running on your server through WHM.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Check Apache Version, Apache is a open-source web server compatible with multiple operating systems and programming languages. Developed by the Apache Software Foundation, it forms a key component of the LAMP stack. To ensure the best performance, security, and software compatibility, regularly update your Apache web server to the latest version. To check Apache version [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":706,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[14,3,8],"tags":[41],"class_list":["post-696","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-apache","category-linux-commands","category-vps","tag-check-apache-version"],"_links":{"self":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/696","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/comments?post=696"}],"version-history":[{"count":3,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/696\/revisions"}],"predecessor-version":[{"id":705,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/posts\/696\/revisions\/705"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/media\/706"}],"wp:attachment":[{"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/media?parent=696"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/categories?post=696"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/vpswebhostingindia.com\/blog\/wp-json\/wp\/v2\/tags?post=696"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}