How to load an SQLite extension in PDO?
Recently we ran into the need to load an extension for SQLite using PHP’s PDO database abstraction, which is not supported out of the box. Eventually we found a solution involving FFI and Z-Engine. In this blog post I will take you on a tour of our solution and the black magic behind it.
Tags: php, sqlite, pdo, ffi