Which Version of Drupal Am I Running?

Posted on by J. Mays | Updated:
Reading Time: < 1 minute

Which version of Drupal are you running? Good news! There are several different methods to determine which version of Drupal you are running.

If you can log in to Drupal with an administrator account…

Are you a Drupal admin? Can you login? If so, you’re in luck! Finding your Drupal version is as easy as navigating a simple menu system…

For Drupal 6.0 or later…

Manage -> Reports -> Status report

For Drupal 5.x and earlier…

Administer -> Logs -> Status report

If you have access to the files in the main Drupal directory…

There are several files you can check for the Drupal version. They include…

  • Version 4.7.x, 5.x, 6.x: modules/system/system.module
  • Version 7.x: includes/bootstrap.inc
  • Version: 8.x: core/lib/Drupal.php

In each file, you’re looking for a variable named ‘VERSION‘. Your result should look something like:

const VERSION = '8.6.2';

In the above case, the Drupal version is 8.6.2. Easy!

Avatar for J. Mays

About the Author: J. Mays

As a previous contributor, JMays shares his insight with our Knowledge Base center. In our Knowledge Base, you'll be able to find how-to articles on Ubuntu, CentOS, Fedora and much more!

Latest Articles

Deploying web applications with NGINX HTTP Server

Read Article

Email security best practices for using SPF, DKIM, and DMARC

Read Article

Linux dos2unix command syntax — removing hidden Windows characters from files

Read Article

How to use kill commands in Linux

Read Article

Change cPanel password from WebHost Manager (WHM)

Read Article