$db = new SQLite3("base.db");
$db->loadExtension('абсолютный путь до ext.dll');
Unable to open extensions outside the defined directory
L_SqlStart('SELECT load_extension("ext.dll")');
General error: 1 not authorized
sqlite3.extension_dir = path/ext_dir
$db = new \PDO('sqlite:_PATH_TO_FILE_', '', '', array(
\PDO::ATTR_EMULATE_PREPARES => false,
\PDO::ATTR_ERRMODE => \PDO::ERRMODE_EXCEPTION,
\PDO::ATTR_DEFAULT_FETCH_MODE => \PDO::FETCH_ASSOC
));
_PATH_TO_FILE_
- путь к вашему файлу бд.