SQLite DB location

As a good practice, where would I have my DB location? This example from the docs shows /var/data/mydb.sqlite
Should I make two folders var and data “within var” and have my sqlite DB in there?

That’s just an example path. On shared hosting, you can usually only put files into the doc root, in that case, would be next to index.php or in a subfolder of your project. Otherwise, you can put that DB above the web root.

Thank you.