You are not logged in.

#1 2008-02-07 21:39:18

xelados
Member
Registered: 2007-06-02
Posts: 314
Website

Cannot get SQLite to play nice with php and lighttpd (SOLVED)

Hey guys.

In my quest to find something lighter and simpler than apache + mysql, I went with lighttpd and sqlite. Everything was going really well until I enabled the sqlite extension in PHP. What happens is all of my existing code outputs blank white pages, or things like include()s break. When the sqlite extension is disabled, all my code works perfectly. I don't know where the problem could lie.. I don't think it's PHP's, since it works fine without the extension. Could it be the extension's fault? I'm using the most current versions in the Arch64 repos, just for reference. I'll post any extra information that's needed. I've consulted Freenode's #php and nobody could figure it out...

[EDIT] Apparently, you need pdo_sqlite.so, sqlite.so, AND pdo.so in order to make everything work. I didn't uncomment pdo.so because I didn't know if it was needed or not.

Last edited by xelados (2008-02-07 23:34:21)

Offline

Board footer

Powered by FluxBB