In this guide, you will learn how to check the Apache version via the shell.
Let us follow the steps-
- Log in to your server as root using SSH.
- Execute the following commands from shell, to find out the version you have installed on your server-
httpd -v
OR
/usr/local/apache/bin/httpd –v - The result will be displayed as-
root@mybox [~]# httpd -v
Server version: Apache/2.4.23 (Unix)
Server built: Oct 3 2016 11:41:41
Cpanel::Easy::Apache v3.34.6 rev9999 + Cloudlinux
OR
root@mybox [~]# /usr/local/apache/bin/httpd -v
Server version: Apache/2.4.23 (Unix)
Server built: Oct 3 2016 11:41:41
Cpanel::Easy::Apache v3.34.6 rev9999 + Cloudlinux
This approach allows you to check the version via the shell. If you encounter any challenges, please do not hesitate to contact our support specialists, who will be more than willing to assist you.
Related Articles
How to monitor active connections and network usage on your VPSApril 20, 2024
How to monitor incoming and outgoing network connections in Linux serversApril 19, 2024
How to set the possession of an unowned DNS ZoneApril 17, 2024
How to fix “There Has Been a Critical Error on This Website” issueApril 15, 2024