SQLite Forum

Cannot load a custom Virtual Table using PHP
Login
A recent change in SQLite3 altered the default for whether loading extensions via SQL function load\_extension() is allowed.  See the 5th paragraph of section 2 of [Run-time Loadable Extensions](https://sqlite.org/loadext.html).  Enabling extension loading has to be done via the C API as mentioned there.

As Mr. Beal suggests, a PHP support forum is more apropos for how to proceed. There may be a way to access the sqlite3\_db\_config() API from PHP, and if there is, such a forum would more likely include somebody who knows about that.