Can"t find sqlite_open

Can"t find sqlite_open

am 08.01.2011 04:34:19 von bridavis

Hello,
I have a script that is calling sqlite_open, however, sqlite_open can't be
found on my systems. I'm running RHEL5 and I get the following relevant
output from php -i:

PDO support => enabled
PDO drivers => odbc, sqlite

pdo_sqlite

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

From searching around, it seems like there is a PDO version, which looks to
be enabled here, and a older version, which would provide sqlite_open. Is
that correct?

Thanks!


--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Re: Can"t find sqlite_open

am 08.01.2011 18:49:35 von Niel Archer

> Hello,
> I have a script that is calling sqlite_open, however, sqlite_open can't be
> found on my systems. I'm running RHEL5 and I get the following relevant
> output from php -i:
>
> PDO support => enabled
> PDO drivers => odbc, sqlite
>
> pdo_sqlite
>
> PDO Driver for SQLite 3.x => enabled
> PECL Module version => 1.0.1 $Id: pdo_sqlite.c,v 1.10.2.6 2006/01/01
> 12:50:12 sniper Exp $
> SQLite Library => 3.3.6
>
> From searching around, it seems like there is a PDO version, which looks to
> be enabled here, and a older version, which would provide sqlite_open. Is
> that correct?

sqlite_open is not a PDO statement. It belongs to the PECL SQLite
extension. This extension is quite old and is superseded by the SQLite3
extension and/or PDO.


> Thanks!
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php

--
Niel Archer
niel.archer (at) blueyonder.co.uk



--
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php