The Apache version is useful when checking module compatibility or troubleshooting a cPanel server. You can display it from an authorised terminal session without restarting the web server.

Display the Apache version

  1. Connect to the server through SSH, or open WHM > Terminal if you have permission.

  2. Run:

    /usr/local/apache/bin/httpd -v
  3. Read the Server version line. The build information is also shown.

If Apache is available on the command path, httpd -v provides the same type of information. If the executable is not present, check which web server the installation actually uses rather than assuming Apache is installed.

A version number alone does not establish whether the package has current security fixes. cPanel and operating-system vendors may apply patches to their supported packages; check their package and update information as well.