Determining what version of Drupal is installed

The main versions of Drupal hosting websites are Drupal 8, Drupal 7, Drupal 6 (Core), and Pressflow. You can retrieve the version of Drupal that is running on your website by using either Drush or the Drupal user interface.


Using the Drush command line tool, you can obtain both the major and minor revisions for Drupal.

To display version information, enter the following command on the command line from inside your website's docroot:

drush status

The displayed results depend on your installed version of Drupal:

  • Drupal 8
     Drupal version                  :  8.0.5
  • Drupal 7
     Drupal version                  :  7.23
  • Drupal 6 and Pressflow
     Drupal version                  :  6.28

If you are using Drupal 7 or lower, you can determine the major version, the minor version, and whether you're using Drupal Core or Pressflow by checking for the existence of external caching. The Drush command to do so is:

drush php-eval 'echo (function_exists("drupal_page_cache_header_external") ? "Pressflow" : "Drupal") . " " . VERSION . "\n";'
  • Drupal 7
    Drupal 7.23
  • Drupal 6
    Drupal 6.28
  • Pressflow
    Pressflow 6.28

User interface

The Drupal administrative web interface also reports the Drupal version and whether the distribution is Pressflow or core. As an administrator, navigate to Reports > Status report (http://[site_URL]/admin/reports/status). The top row of the table of information contains either Drupal (for core) or Pressflow, and the version number.

  • Drupal 8

    Drupal 8 Status page

  • Drupal 7

    Drupal 7 Status page

  • Drupal 6

    Drupal 6 Status page

  • Pressflow

    Pressflow Status page

Additional Pressflow identification method

You may be able to determine if a website is running Drupal core versus Pressflow while it is not authenticated. This is possible because Drupal's Expires header is set differently for core than it is for Pressflow. You can find more information about how to check the Drupal distribution using the Expires header at How to determine if a site is running Pressflow.

Contact supportStill need assistance? Contact Acquia Support