Re: [CentOS] SQLite with PHP5 problem

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



o, thanks a lot!!!!!
But is that possible to use both the old SQLite apis and new PDO apis at the same time?
I must run an old program on it.
Are there any solutions?

On 7/20/06, Jason Bradley Nance <aitrus@xxxxxxxxxxxx> wrote:
> dl("pdo_sqlite.so");
> sqlite_open(xxx);
> new SQLiteDatabase(xxx);
>
> The result is the "dl" line will give out a warning showing that the
> "pdo_sqlite.so" is already loaded.
> The "sqlite_open" line will give out a message showing that no function
> such like "sqlite_open".

You're loading the pdo version of SQLite, but trying to use the old
non-pdo functions.

See docs:  http://us2.php.net/manual/en/ref.pdo-sqlite.php

j


--
Jason Bradley Nance                        What would you cry for?
aitrus@xxxxxxxxxxxx                          Swallow your pride for?
            Tres Geek                       What would you go wild for?
http://tresgeek.net/
                                                           -Poe, "Wild"
--
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos



--
Zijing 2# 401B Tsinghua Univ.
+86 -10 -51532401
Zig
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux