php5.4 支持sqlite2吗?centos 6.3下怎么yum安装?


原来服务器php5.3的有个程序是sqlite2的

现在新服务器php升级到5.4了,默认是sqlite3了。

能否直接让服务器支持sqlite2?

谢谢

yum php5.4 sqlite2 sqlite3 centos

暗系见习魔法师 10 years, 2 months ago

请使用PDO,或者ODBC,谢谢。

http://cn2.php.net/manual/zh/ref.pdo-sqlite.php

firedew answered 10 years, 2 months ago

我觉得你似乎可以放弃了?手册上 SQLite类库 上写着:

The SQLite extension is enabled by default as of PHP 5.0. Beginning with PHP 5.4, the SQLite extension is available only via PECL.

然后我上 PECL 上查看,发现上面又写着:

This package is not maintained anymore and has been superseded. Package has moved to channel http://php.net/sqlite , package .

春哥专用扎古 answered 10 years, 2 months ago

Your Answer