Rainer Sokoll wrote: > On Tue, May 15, 2007 at 06:19:08PM +0200, Nils Breunese wrote: > >> Still I do not understand how PHP and mod_python can have a problem when >> there is only one version of sqlite installed on my system. Can anyone >> explain this to me? > > There is no sqlite installed on your system ;-) > Quoting http://www.sqlite.org/: "SQLite is a small C library that > implements a self-contained, embeddable, zero-configuration SQL database > engine." > So there is nothing that prevents from using different programs (like > python/php) linked against different versions of sqlite.
I'm not sure I understand exactly what you're saying. I see that the sqlite package on my system provides libsqlite3.so.0 and that the python-sqlite package requires libsqlite3.so.0, so I don't think the python-sqlite package has a self-contained, embedded sqlite implementation. I ran the commands from <http://trac.edgewall.org/wiki/PySqlite#DetermineactualSQLiteandPySqliteversion> to check: # python Python 2.3.4 (#1, Oct 11 2006, 06:18:43) [GCC 3.4.6 20060404 (Red Hat 3.4.6-3)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import trac.db.sqlite_backend >>> trac.db.sqlite_backend._ver (3, 3, 3) >>> trac.db.sqlite_backend.have_pysqlite 1 >>> trac.db.sqlite_backend.sqlite.version '1.1.7' Maybe PHP has an embedded sqlite and doesn't use the files from the sqlite package, is that what you're saying? Can I check in a similar way what sqlite is used by PHP by running a PHP script? Thanks all, Nils Breunese. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
