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

Blocking IP or whitelisting IP addresses with UFW

Read Article

CentOS Linux 7 end of life migrations

Read Article

Use ChatGPT to diagnose and resolve server issues

Read Article

What is SDDC VMware?

Read Article

Best authentication practices for email senders

Read Article