Re: Can't find sqlite_open
| From: | Niel Archer | Date: | Sat, 08 Jan 2011 17:49:35 +0000 |
| Subject: | Re: Can't find sqlite_open | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-47619@lists.php.net to get a copy of this message | ||
> 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