Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Drupal.php

Drupal::RECOMMENDED_PHP

Minimum recommended version of PHP.

Sites installing Drupal on PHP versions lower than this will see a warning message, but Drupal can still be installed. Used for (e.g.) PHP versions that have reached their EOL or will in the near future.

1 use of Drupal::RECOMMENDED_PHP
system_requirements in core/modules/system/system.install
Implements hook_requirements().

File

core/lib/Drupal.php, line 134

Class

Drupal
Static Service Container wrapper.

Code

const RECOMMENDED_PHP = '8.3.0';
RSS feed
Powered by Drupal