How To Check the Version of Apache? (In 3 Ways) – ServerGuy

How To Check the Version of Apache? (In 3 Ways) – ServerGuy

Check version apache

Video Check version apache

Most web servers around the world use Apache or Apache HTTP Server software. Apache is open source software developed and maintained by the Apache Software Foundation.

It is quite fast, secure and can be easily customized for different environments by using extensions and modules. Apache works seamlessly on Windows and Linux web servers.

Quick jumps:

  • From Web Host Manager
  • Search version using cPanel
  • Using SSHWhat

is

Apache?

Apache HTTP Server is not a physical server, but software that runs on a server. Its function is to form a connection between a server and users’ browser to deliver files back and forth between them.

Learn more about what Apache web server is.

How does Apache Web Server work?

When a user wants to visit a particular page of your site, for example, contact us or services page, the browser sends a request to the server on which the site is hosted and Apache returns a response with all the requested files (text, images, etc.).

The server and client communicate via the HTTP protocol and Apache is responsible for the smooth and secure communication between the two machines. Apache can be customized according to your requirements as it has a module-based structure.

Modules allow server administrators to enable and disable secondary functionality. Apache has different modules for security, caching, URL rewriting, password authentication, etc. You can also configure your own server in an Apache configuration file: .htaccess.

The latest version of Apache released by Apache Software Foundation is version 2.4.41. It is the recent version of the stable branch 2.4.x and is required to operate a TLS 1.3 web server with OpenSSL 1.1.1.

The key benefits offered by the latest version of Apache are:

  • – Multithreaded modules (MPM), which modify the way Apache listens to the network, accepts and handles requests to improve SNI (
  • Server Name Indication) efficiency, which allows multiple websites sharing a single IP address to have their own SSL certificates installed.

#1 Apache Version Check Using WebHost Manager

  1. Find the Server Status section and click Apache Status. You can start typing “apache” in the search menu to quickly narrow down your selection.
  2. The current version of Apache appears next to the server version on the Apache status page. In this case, it is version 2.4.41.

#2 Checking

Apache Version From cPanel Log in to the

cPanel and look for

the ‘Server Information’ on the left in the ‘Overview’ section.

Here you can see which version of Apache is running

on the server.

#3 Checking Apache Version from the Shell

  1. Log in to your server as root using ssh
  2. . Type the following

  3. command to check the apache version

. httpd -v or /usr/local/apache/bin/httpd -v

You will get the following result

:- [[email protected]]# httpd -v Server version: Apache/2.4.16 (Unix) Server built: Dec 23 2015 11:28:39 Cpanel:: Easy::Apache v3.32.6 rev9999

FAQ

What is the current version of

Apache?

The current version of Apache is v 2.4.46. Although this is a minor update, some security updates revolve around CVE-2020-11984 and CVE-2020-11993. The main version of the Apache server was 2.4, which came out a decade ago.

Which is better Apache or nginx?

Both Apache and Nginx have their own pros and cons. Here is the comparison between Apache and Nginx to solve all your doubts.

What language is Apache written in?

Apache is written in C and XML.

Final Words

I hope this quick tutorial helps you find the Apache version

.

If there are any problems or doubts, please leave them in the comments section.