Home  >  Q&A  >  body text

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

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

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

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

谢谢

曾经蜡笔没有小新曾经蜡笔没有小新2756 days ago954

reply all(2)I'll reply

  • 習慣沉默

    習慣沉默2017-04-25 09:03:20

    I think you can give up? The SQLite class library in the manual says:

    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.

    Then I checked on PECL and found that it said again:

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

    reply
    0
  • 淡淡烟草味

    淡淡烟草味2017-04-25 09:03:20

    Please use PDO, or ODBC, thank you.

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

    reply
    0
  • Cancelreply