<https://www.php.net/manual/en/sqlite3.open.php> ~~~ public SQLite3::open ( string $filename [, int $flags = SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE [, string $encryption_key = "" ]] ) : void ~~~ flags Optional flags used to determine how to open the SQLite database. By default, open uses `SQLITE3_OPEN_READWRITE | SQLITE3_OPEN_CREATE`. `SQLITE3_OPEN_READONLY`: Open the database for reading only. `SQLITE3_OPEN_READWRITE`: Open the database for reading and writing. `SQLITE3_OPEN_CREATE`: Create the database if it does not exist. But, indeed, this is not a PHP forum.... ;)