It's ShopSite (www.shopsite.com) and I'm building add-on modules for the cart that need to access information in the DB.

Unfortunately, we can't upgrade to PHP5 just yet, as we have quite a few sites on the server running open source software and we haven't verified they are all compatible with PHP5.

Is there a way to upgrade the module to SQLite 3 on PHP4?

Brandon Eley
[EMAIL PROTECTED]



On May 10, 2007, at 8:58 AM, T&B wrote:

Hi Brandon,

I've had my web host install the PECL extension and the following is what is in my phpinfo();

sqlite
SQLite support  enabled
PECL Module version     1.0.3 $Id: sqlite.c,v 1.62.2.25 2004/07/10
SQLite Library  2.8.14

How would I access the 2.8.x database from within PHP? is it even possible?

I think you have the problem backwards. Your database data file is probably already "upgraded" to SQLite version 3.x format. But it's the SQLite executable library in PHP that is lagging at 2.8.14. You need to upgrade your PHP SQLite library so it can open your newer version database file.

The simplest way I found to do this, was to upgrade my PHP to the latest 5.2.1, which includes SQLite support for 3.x database files.

The database is created from a shopping cart program, so I can't upgrade it, it has to remain the same version (for now).

Out of curiosity, what is the shopping cart software that you're using?

Tom


---------------------------------------------------------------------- -------
To unsubscribe, send email to [EMAIL PROTECTED]
---------------------------------------------------------------------- -------



-----------------------------------------------------------------------------
To unsubscribe, send email to [EMAIL PROTECTED]
-----------------------------------------------------------------------------

Reply via email to