Skip to content
Knowledge

/

Drupal

Drupal and the inventory

How to check the Drupal, PHP, database and module versions before making changes.

The Drupal version shown in the admin panel is only part of the picture. The website, terminal, cron and queues may use different PHP versions, and Composer, modules and the database determine whether an update is really possible.

Last updated: 9 August 2026

Owner: Gotoweb technical team.

Author: Kamil Michno

Next step

Record full version numbers, the date and the source. Don’t publish configuration files, dumps or reports containing secrets.

01

Drupal core version

Read the full number in the status report, via Drush or from the Composer data. If the admin panel isn’t working, use controlled access to a copy. Don’t guess the version from the look of the panel or the date of the last deployment.

02

PHP for web and CLI

Check separately the version handling web requests, the terminal, cron and workers. Also record the ini configuration and the extensions relevant to the system. A different runtime is a common cause of errors after deployment.

03

Database

Establish the engine and full version of the database server, the PHP driver and the connection method. Don’t send login details. The database type can affect version requirements, query behaviour and the vulnerability assessment.

04

Composer and the lockfile

Record the Composer version, the state of composer.json and composer.lock, repositories, patches and constraints for core. The lockfile shows the dependencies actually installed; the manifest alone may describe a wider allowed range.

05

Drush and contrib modules

Read the Drush version and the list of enabled and available extensions with their full numbers. Separate contrib modules from custom ones, and don’t remove unused ones without checking configuration and data.

06

Custom code and the theme

List custom modules, the theme, patches and changes to the deployment process. The repository should match production; server-side differences must be identified before the update, because they may disappear with the next deploy.

07

Safe handover

In the report, use a table: component, version, source, date and notes. Remove passwords, tokens, keys, private addresses and personal data. Share secrets only through an agreed channel.

Need a complete Drupal inventory?

Send the address and the information you already have. After qualification we’ll agree a safe scope for reading the environment.

Only 3 required fields · reply within 1 business day · no obligation