Which is the latest version of Drupal for PHP?

Which is the latest version of Drupal for PHP?

Drupal 8 dropped support for PHP 5.5 and 5.6 in May 2019 and new installs require 7.0.8 or newer. We recommend updating to at least PHP 7.2. (Ubuntu 18.04 ships with PHP 7.2 and Debian 10 has 7.3.) Drupal 9 dropped support for PHP 7.0, 7.1, and 7.2 and new installs require version 7.3 or later.

Do you need PHP curl for Drupal 8?

The PHP cURL extension is required for the SimpleTest module in Drupal 8, as well as Aggregator and some contributed modules. Many Linux distributions and development stacks will have it enabled by default, but if your system doesn’t either enable it in php.ini (typically on Windows) or install it using your package manager (typically on Linux).

Where can I find PHP requirements for Drupal 7?

A separate announcement will be issued if and when that changes – see Drupal 7 PHP requirements. Extensions used by Drupal core are defined in Core’s composer.json file – see for example the file for Drupal 9.1.x. Look at the “require” section and the keys starting with “ext-“.

How to add a PHP extension to Drupal?

Extensions used by Drupal core are defined in Core’s composer.json file – see for example the file for Drupal 9.1.x. Look at the “require” section and the keys starting with “ext-“. 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.

When is the new version of PHP coming out?

New versions of PHP bring new features and fixes for security issues and bugs. Migrating from one version to another can often lead to incompatibilities. As of writing this article, PHP 7.2 is the latest stable release and PHP 7.3 is expected to be released in December 2018.

How to change PHP version in Apache web server?

For Apache web server, the a2enmod and a2dismod scripts can be used for enabling and disabling the PHP modules. PHP version for a specific website can also be set through to the .htaccess file in the following way. III. Nginx

Which is PHP / MySQL version should I use?

Drupal 7 supports MySQL 5.0.15/MySQL 5.1.30/MariaDB 5.1.44/Percona Server 5.1.70 or higher. This is all for Drupal core. The compatibility with third-party modules can vary, and there could be modules having troubles with the newest PHP version, especially because backward incompatible changes.

What are the requirements for PHP in Drupal 8?

DOM is now a systems requirement. An image library for PHP such as the GD library is a required extension in Drupal 8, and is needed for image manipulation (resizing user pictures, image and image cache modules). ImageMagick is also supported for basic image manipulations in Drupal core but there is much less support from contributed modules.

Is the PECL version of PDO compatible with Drupal 7?

NB! The PECL version of PDO is not compatible with Drupal 7 and cannot be used. PHP XML extension (for Blog API, Drupal, and Ping modules). This extension is enabled by default in a standard PHP installation; the Windows version of PHP has built-in support for this extension.