Is this a correct way of setting up a PDO connection to a SQlite database in php?
new PDO(";dbname=sqlite:c:/path/database.sqlite", "", "");
Because this throws me an error:
PHP Fatal error: Uncaught exception 'PDOException' with message 'could not find driver'
Because whenever I leave the ;dbname= part out, it doesn't give me this error anymore.
So what is the correct way?
PS: I have set up the drivers correctly in php.ini, see this link for a screenshot of phpinfo(): http://puu.sh/2xtEF.jpg