The behaviour of these functions is affected by settings in php.ini.
Here's a short explanation of the configuration directives.
sqlite3.extension_dir
Path to the directory where the loadable extensions for SQLite reside.