I\'m trying to insert data into my SQlite3 database (this works via the command line). I gave the data1.db file 777 permissions and still it says it\'s unable to open the fi
Pay attention, if you run PHP with CLI, you must use "sudo -u www-data php script.php" so PHP can write on the sqlite.