PHP SQLite

I just thought that I would post this because I ran into this issue earlier today. If you’re wanting to enable SQLite in PHP you’ll have to edit your php.ini file and uncomment the line (removing the initial semicolon) that looks like this:

;extension=php_sqlite.dll

And the line that looks like this:

;extension=php_pdo.dll

Basically, SQLite requires the PDO module to be loaded in order for it to work. This may seem an obvious solution to some (albeit somewhat awkward), but it caused me some annoyance. Anyway, hope that helps someone out.