PHP offer 3 types of SQLite drivers: 1.) SQLite 2.) PDO 3.) SQLite3 (http://php.net/manual/en/book.sqlite3.php) The last one is not built when building php with USE="sqlite". From what I've seen in the php5_2-sapi.eclass is that we - enable (1.) when adding USE="sqlite" - enable (1.) and (2.) when adding USE="sqlite pdo" My suggestion is to - enable (3.) when adding USE="sqlite3" I'll attach a completely untested patch against the eclass for that as I seriously don't have a clou on how to test that (replacing the eclass did not offer me the new use flag). Reproducible: Always Steps to Reproduce:
Created attachment 211399 [details, diff] sqlite-support.patch
This seems to be the case already, no?
No, this isn't handled by the eclass yet. You never get sqlite3 support without PDO.
We will look into this for php-5.3, adding to tracker.
So, php-5.3.2 has a sqlite3 USE-flag. Problem is: it doesn't do anything else than pull in sqlite-3*. The sqlite3 extension still gets disabled by default. This is fixed in the overlay and will migrate to the main tree shortly. Leaving open until it does.
Scrap that part about "it's not doing anything". I wasn't aware of the behaviour of phpconfutils in this case and when you enable USE="sqlite3" you should get sqlite3 support right now.