Answer the question
In order to leave comments, you need to log in
SQLite PHP "unable to open database file"?
When trying to work with SQLite from PHP, I get the error "unable to open database file". In the configs, I registered sqlite3.extension_dir and set permissions for this folder to 777 and the files inside it.
The code that gives the error:
$_db = new SQLite3($_config['database'].'.sqlite3');
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question