

Enabling the XML extension also enables PHP DOM.
Php 5.2 vs 7.1 windows#
This extension is enabled by default in a standard PHP installation the Windows version of PHP has built-in support for this extension. PHP XML extension (for Blog API, Drupal, and Ping modules). In addition, a PHP extension for connecting to your chosen database must be installed and enabled.ĭrupal's currently supported database connectors are SQLite, mysql (the original MySQL extension), mysqli (an improved connector for newer MySQL installations), and pgsql (for PostgreSQL). The PECL version of PDO is not compatible with Drupal 9 and cannot be used.
Php 5.2 vs 7.1 install#
The PHP Data Objects (PDO) extension must be activated for Drupal 9 and higher to install and run correctly.


Some extensions are part of the core PHP package and hence are enabled by default. Typically the package name for the Foo extension is named "php-foo" or "php7-foo", but this isn't always the case.

Note: Adding a PHP extension to your system, at least on Linux (and Mac), means finding and installing the relevant PHP package using your package manager. Look at the "require" section and the keys starting with "ext-". PHP extensions neededĮxtensions used by Drupal core are defined in Core's composer.json file - see for example the file for Drupal 9.1.x. Recommended PHP versions are the best choice for building a Drupal site because they will remain supported longer. What does it mean for a version of PHP to be "recommended"?ĭrupal will work on all supported PHP versions. For example, Drupal 9.0.0 supported PHP 7.3, so if a Drupal 9 dependency drops support for PHP 7.3 before Drupal 9's end-of-life date in November 2023, we may create a new minor version outside the normal schedule that increases the PHP version requirement to 7.4 and the dependency's version requirement to the supported version. If a dependency does drop support for a PHP version that was initially supported by the Drupal major version, an unscheduled minor release may be created to require the new PHP and dependency versions. Site owners will receive warnings on their site status report that their PHP installation is "too old" if the site's PHP version is old enough that a dependency is likely to drop support for it. If this happens, the Drupal site will no longer be able to install security updates for that dependency, so we can no longer guarantee its security coverage. However, Drupal's upstream dependencies may drop support for older PHP versions before the Drupal major version reaches its end of life. We prefer to allow sites to receive security updates even if they are using a version of PHP that is no longer supported. What does it mean for a PHP version to be supported? What does it mean for the PHP installation to be "too old"?ĭrupal minor versions receive a predefined window of security coverage (typically 12 months) so long as you are using a supported PHP version.
