Call to undefined function sqlite_open

后端 未结 1 1054
滥情空心
滥情空心 2021-01-02 02:35

Searched already on many sites with no results. PHP keeps on saying:

Call to undefined function sqlite_open()

If I manually load sqlite (it

相关标签:
1条回答
  • 2021-01-02 02:44

    sqlite_open was the function in the sqlite2 extension. What you've installed is probably the sqlite3 module, which requires sqlite3::open() instead.

    But you should not use the native interface either way. Use PDO to open sqlite databases. http://www.php.net/manual/en/ref.pdo-sqlite.php

    0 讨论(0)
提交回复
热议问题