Topic: SQLite not found, but it's there!

Hello all,
I have a Linksys NSLU2 running Unslung 6.8 (http://nslu2-linux.org), and I'm in the process of setting up a very low traffic forum on it with PunBB, which I never used but that seems to be better than PhpBB (that's what I heard. smile )

I had originally started with the php-thttpd package, which contains a decently featured PHP installation (through FastCGI) that also includes sqlite. I quickly tried PunBB but I got some blank pages when committing changes in the administration changes, and after some research I found out that it's a somewhat known bug with thttpd.

Therefore I removed php-thttpd and proceeded to install lighttpd and php-fcgi, configured it and noticed it showed nothing about sqlite in phpinfo(), but a two-line addition to php.ini enabled it. In fact, my phpinfo() page now shows:

PDO
PDO support    enabled
PDO drivers     sqlite

pdo_sqlite
PDO Driver for SQLite 3.x    enabled
PECL Module version     (bundled) 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01 12:50:12 sniper Exp $
SQLite Library     3.3.7

If I'm not wrong, it's very similar to what my php-thttpd installation had, but now PunBB's install.php only tells me:

This PHP environment does not have support for any of the databases that PunBB supports. PHP needs to have support for either MySQL, PostgreSQL or SQLite in order for PunBB to be installed.

But sqlite is there! What's wrong? I would rather not install mysql and especially not apache, since the NSLU2 has limited CPU power (266 MHz ARM) and little memory (30 MB physical); it would start swapping immediately.

Thanks in advance.

Re: SQLite not found, but it's there!

pdo_sqlite isn't supported wink
If you want, there's this mod, not sure how well it works
http://punbb.org/forums/viewtopic.php?id=13123

Re: SQLite not found, but it's there!

I fixed it just a minute ago, I found that lighttpd came with a php module called sqlite.so... which adds 'direct' sqlite2 support. smile It's now working, and I'm proceeding to install PunBB.
Thanks for the quick answer anyway!