This project is not covered by Drupal’s security advisory policy.

The SQLite driver that's included in Drupal 11 core requires SQLite 3.45+.

This module lets you install and use Drupal 11 on SQLite 3.37+, which is more broadly available. This makes it easier for people to upgrade from Drupal 10 to Drupal 11, even if you don't yet have access to the higher SQLite versions. If you do have access to the higher SQLite versions, it is recommended that you upgrade to that instead of using this module.

Instructions

1. Installation

composer require 'drupal/sqlite337:^1.0@alpha'

2. Configuration

2.a Without a pre-existing settings.php file

If you are installing Drupal from scratch, without a pre-existing settings.php file, and allowing the installer to write the settings.php file for you, then just follow the installer's instructions, and it will write out settings.php with the information that's needed.

2.b With a pre-existing settings.php file

If you already have a settings.php file, then this driver's information needs to be defined in your database settings. Add the following to your settings.php file after where the $databases variable is defined:

require DRUPAL_ROOT . '/modules/contrib/sqlite337/settings.inc';

3. Enable the module

Enable this module via /admin/modules. This step is only needed if you're installing this module on an existing site. If installing on a new site, then the Drupal installer already performs this step.

Project information

Releases