I am trying to connect to sqlite 3 .db.
$db = new SQLite3('path/to/db.db');
This gives me Fatal error: Uncaught exception 'Exception' with message 'Unable to open database: unable to open database file. Does it have something to do with php.ini? I read that i need to change permissions or something but didn't manage to do that. Also I am developing a web with Wordpress. Maybe I need to install sqlite or something, but how? Thanks.