I'm just following a tutorial of sqlite with php to create a data entry application. And I got an error 500 Internal Server Error with this simple line of code.
<h1><center>Create a DB in the same folder<br></center></h1>
<?php
$database = new SQLite3('db.sqlite');
?>
When I comment down the line //$database = new SQLite3('db.sqlite');
the error disappears. How can I use SQLite3 with my Php?