PHPackages                             silverstripe/sqlite3 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. silverstripe/sqlite3

ActiveSilverstripe-vendormodule[Database &amp; ORM](/categories/database)

silverstripe/sqlite3
====================

Adds SQLite3 support to SilverStripe

4.0.1(2mo ago)9562.4k—0.5%19[1 issues](https://github.com/silverstripe/silverstripe-sqlite3/issues)15PHPCI failing

Since Jan 3Pushed 2mo ago8 watchersCompare

[ Source](https://github.com/silverstripe/silverstripe-sqlite3)[ Packagist](https://packagist.org/packages/silverstripe/sqlite3)[ RSS](/packages/silverstripe-sqlite3/feed)WikiDiscussions 3 Synced 2d ago

READMEChangelog (10)Dependencies (9)Versions (24)Used By (15)

SQLite3 Module
==============

[](#sqlite3-module)

[![CI](https://github.com/silverstripe/silverstripe-sqlite3/actions/workflows/ci.yml/badge.svg)](https://github.com/silverstripe/silverstripe-sqlite3/actions/workflows/ci.yml)

Maintainer Contact
------------------

[](#maintainer-contact)

Andreas Piening (Nickname: apiening) &lt;andreas (at) silverstripe (dot) com&gt;

Installation
------------

[](#installation)

```
composer require silverstripe/sqlite3
```

Configuration
-------------

[](#configuration)

Either use the installer to automatically install SQLite or add this to your \_config.php (right after "require\_once("conf/ConfigureFromEnv.php");" if you are using \_ss\_environment.php)

```
$databaseConfig['type'] = 'SQLite3Database';
$databaseConfig['path'] = "/path/to/my/database/file";
```

Make sure the webserver has sufficient privileges to write to that folder and that it is protected from external access.

### Sample mysite/\_config.php

[](#sample-mysite_configphp)

```
