PDA

View Full Version : Quercus + Jetty + SQLite


biggsk
05-14-2010, 09:39 PM
Hi all,

I have a php form and I am trying to get it to send the data to a SQLite3 database but I am getting the following error:
Fatal Error: 'sqlite3_open' is an unknown function.

When I submit the form.

I had it working with a remote MySQL database by placing the mysql driver in the ..\WEB-INF\lib directory.

What am I missing?

Thanks all for your time.:)

emil
05-14-2010, 11:02 PM
Hi,

sqlite support isn't yet implemented. We have a feature request for it recorded here:

http://bugs.caucho.com/view.php?id=3997

At the moment, the best supported databases are MySQL and Postgres.

Thanks,
Emil

biggsk
05-14-2010, 11:23 PM
emil thanks for your quick response!

murzo
08-30-2011, 08:30 AM
Hi

I'm searching a solution to run a php webapp cross-platform and portable. I succeed to do working my webapp with Jetty 6 + Quercus + Mysql. But my problem is the database because I need to a database "portable", not installable.
I know that the sqlite functions are not yet supported, but I can access to sqlite with PDO and the driver sqliteJDBC? It's possible? And how?
In alternative what database I can use? Derby? What other?

Thanx