How to find the Drupal version

How do I know which version of Drupal is installed on my server?

+60
drupal
May 22 '10 at 7:19
source share
16 answers

You can get this by logging in to the admin. Open "Administration" → "Reports" → "Status Report".

This will let you know all the site configuration information, including the Drupal version.

+48
Oct 31 '11 at 19:34
source share

To easily check your Drupal version, go to www.yourwebsite.com/CHANGELOG.txt

CHANGELOG.txt will show you the version and update the changelog in the version of the Drupal assembly.

+29
Jan 27 '13 at 5:33
source share

This is defined as a global PHP variable in /includes/bootstrap.inc in D7. Example: define('VERSION', '7.14'); So use it like this:

 if (VERSION >= 7.1) { do_something(); } 
+24
May 23 '12 at 22:34
source share

You can also enter:

drush status in the project folder. It will print something like this:

 $ drush status Drupal version : 7.27 **<--** Default theme : garland Administration theme : garland PHP executable : php PHP configuration : "C:\Program Files (x86)\Drush\Php\php.ini" PHP OS : WINNT Drush version : 6.0 Drush configuration : Drush alias files : c:/users/spaden/.drush/pantheon.aliases.drushrc.php Drupal root : c:/Users/spaden/localSite/ 

Hope this helps!

+24
Oct 24 '14 at 21:33
source share

Log in to the Drupal admin interface. Then go to "Administration → Available Updates". And you can find out which version of drupal you are using.

or you can go to the /modules/system/system.info file and you will see something like version = "6.2"

+9
May 22 '10 at 7:25
source share

In Drupal 7

Open CHANGELOG.txt and the top version will be the installed version.

In Drupal 8

Open the file core / lib / Drupal.php, and there will be the specified version const VERSION = '8.1.8';

Drush Tool

Drush Status

Admin interface

Go to Administration → Reports → Status Report or enter URL / admin / reports / status

Above is the easiest way, otherwise the wappalyzer installed add-ons browser and see the magic.

+6
Aug 26 '17 at 12:08 on
source share

From the database

Run the following query:

 SELECT info FROM system WHERE type = 'module' AND name = 'node'; 

After that, you will get a serialized string value, for example:

a: 10: {s: 4: "name"; s: 4: "Node"; s: 11: "description"; s: 66: "Allows you to send content to the site and display pages on it:.: s: 7:" package "; s: 15:" Core - required "; s: 7:" version "; s: 4:" 6.20 "; s: 4:" core "; s: 3:" 6.x "; s: 7:" project "; s: 6:" Drupal "; s: 9:" date stamp "; s: 10:" 1292447788 "; s: 12:" dependencies "; a: 0: {} s: 10:" dependents "; a: 0: {} s: 3:" PHP "; s: 5:" 4.3.5 ";}

Then, non-esterialize this line. You can use the php unserialize function or any online service, for example: http://unserialize.me

You should see two elements of the array, as shown below, the current version number:

 [version] => 6.20 [core] => 6.x 
+4
Sep 08 '15 at 11:39 on
source share

For older versions, you can find information here: Modules / system / system.module

One of my installations says:

define ('VERSION', '5.6');

+3
Aug 14 '13 at 5:50
source share

The easiest way: go to your site, and in the browser go to: view the source.

Typically, you can find:

 <meta name="generator" content="Drupal 7 (http://drupal.org)" /> 

Or just press: Ctrl / Cmd "F": And find the word Drupal.

You will find the Drupal version in the code without checking anything in the administrator.

+3
Jun 21 '16 at 21:47
source share

For Drupal7

Two ways to find the installed version of drupal. To do this, you must log in as admin.

1. Go to Url 'admin / reports / status', on the status report page it will show the first drupal with its version.

2.Go to Url 'admin / modules', when searching for the main tab, we can find the modules added by drupal, with the "version".

For Drupal8

Open drupal \ core \ lib \ Drupal.php in a text editor

you will see something like this (from line 79 to line 84)

 open drupal\core\lib\Drupal.php in your text editor you will see something like this (from line 79 to line 84) class Drupal { /** * The current system version. */ const VERSION = '8.2.3'; 
+3
Jul 18 '17 at 6:37
source share

In fact, viewing any .info file on your Drupal instance in any theme or module folder (inside / sites / all) may be the easiest / fastest for you, rather than adding PHP code, although both are pretty simple.

If for some reason you do not have FTP / SSH access to your Drupal server, there are other ways, such as viewing the page source in a browser (if you know what to look for) or a simple browser panel such as "Drupal for Firebug 'or similar utility:

https://addons.mozilla.org/en-US/firefox/addon/drupal-for-firebug/

+2
Aug 14 '13 at 13:00
source share

Alternatively, you can install the Drupal version check plugin in your browser and click the drupal icon in the navigation bar. This is the easiest way to check the version of Drupal.

Here is the link to the plugin - https://addons.mozilla.org/en-US/firefox/addon/drupal-version-check/

+1
Apr 02 '14 at 11:25
source share

Drupal 8 programmatically: \DRUPAL::VERSION

+1
Apr 25 '17 at 11:51 on
source share

Drupal 7 admin-> modules → (see the version of the main module, for example, a block) admin-> reports → status-> Drupal version

Drupal 8 admin-> reports-> updates: see Drupal core

+1
Dec 15 '18 at 16:56
source share

Open the project folder. Find CHANGELOG.txt and open it. Here you can find the version.

0
Apr 27 '17 at 5:49 on
source share

In the Drupal admin panel, you can find using the menu as follows: Drupal Reports Administrator-> Status Report . or

You can find the version of Drupal through the URL or View Source.

URL => enter CHANGELOG.txt at http://example.com/CHANGELOG.txt

View Source => You can find this by the following [meta tag]

enter image description here

This meta tag only appears on the Drupal website. You can confirm that the web application is based on CMS Drupal.

-one
Feb 27 '19 at 7:41
source share



All Articles