Troubleshooting PHP Sqlite Query Error: Unable to open database

Sqlite LogoIf you are using PHP and are going to send INSERT or UPDATE queries or any other query resulting in a IO write, you will need to make the folder that contain your Sqlite database e.g. “file.db” writable by the web server user, otherwise you’ll receive error message – “Unable to open database . . . “. File permissions are not enough

No related posts found.

0 Comments.

  1. I love u! haha! Thanks ^^

  2. thank you :)

  3. This saved me hours of beating my head against the wall. Thanks!

  4. I will like to know how to make my database file writable to the web user, please

  5. Thanks. This post really helped me.

  6. Thanks a bunch for posting this! I searched around for what seemed like forever, seeing other users that had the same problem, but no one with an answer. This was just what I needed though.