Environment Requirements For Drupal 9

A development environment is a copy of your website that runs separately from your live site. The copied website allows you to try new modules, make changes to the code, test new ideas, and write a new code instead of making changes on the actual website, ensuring those changes happen in a sandbox where you’re not affecting the efficiency of the live version of your website.

Read More: Drupal 9 Vs. Drupal 8: Should You Upgrade Your Website To Drupal 9?

What are the environmental requirements to run a Drupal website?

To run the Drupal 9 site, it should meet minimum environmental requirements. These include having a compatible database, running a web server with correct settings, and the correct version of PHP. 

Let’s discuss the environment requirements in detail!

Read More: Drupal 9 Plugins You Must Have For Your Website

#1. Nginx version requirement

You should at least have version 0.7.x if you are running Drupal 9 on Nginx. 

#2. Apache version requirement

If you are running Drupal 9 on Apache, you should at least have a 2.4.7 Apache version for smoother migration. 

#3. PHP version requirement

Drupal 9 requires at least PHP 7.3. Drupal 9 also supports PHP 7.4, but it is not required. PHP 8 is supported by Drupal 9.1.0

Read More: Why Drupal Is The Key To Success For Enterprise Web Development?

Database backend and other hosting requirements

  • If you’re using Drupal 9 with MySQL or Percona, version 5.7.8+ is required.
  • If you’re using Drupal 9 with MariaDB, version 10.3.7+ is required.
  • If you’re using Drupal 9 with SQLite, version 3.26+ is required. (PHP 7.4 does not use the system-provided SQLite, so you need to be extra careful to ensure that your PHP is compiled with at least this version).
  • If you’re using Drupal 9 with PostgreSQL, you’ll require version 10 with the pg_trgm extension.

Read More: Drupal 7 To Drupal 9 Migration: Estimated Time And Cost

A note on Drush

While Drupal core does not require Drush, many people do use Drush. You can refer to the Drush version compatibility page to get more information on supported versions.

Some Drupal developers necessarily don’t need a local development environment to work on their site. However, fulfilling these environmental requirements is necessary for others to achieve efficiency in the development and maintenance of Drupal sites. 

Need help migrating your website to Drupal 9? Contact Alberta TechWorks experts to assist you with the migration!