This module allows Drupal 11 to be used with older versions of SQLite (3.37+), making upgrades easier for those without access to the latest SQLite versions. It provides compatibility for Drupal 11 on systems where the core SQLite driver's higher version requirement cannot be met.
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.
Ask your assistant about SQLite 3.37 database driver
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0-alpha1 | Pre-release | 10–11 | Aug 25, 2024 | ||
| 1.0.x-dev | Dev | 10–11 | Aug 25, 2024 |