• <bdo id='d3Vhw'></bdo><ul id='d3Vhw'></ul>

        <legend id='d3Vhw'><style id='d3Vhw'><dir id='d3Vhw'><q id='d3Vhw'></q></dir></style></legend>

        <tfoot id='d3Vhw'></tfoot>
      1. <i id='d3Vhw'><tr id='d3Vhw'><dt id='d3Vhw'><q id='d3Vhw'><span id='d3Vhw'><b id='d3Vhw'><form id='d3Vhw'><ins id='d3Vhw'></ins><ul id='d3Vhw'></ul><sub id='d3Vhw'></sub></form><legend id='d3Vhw'></legend><bdo id='d3Vhw'><pre id='d3Vhw'><center id='d3Vhw'></center></pre></bdo></b><th id='d3Vhw'></th></span></q></dt></tr></i><div id='d3Vhw'><tfoot id='d3Vhw'></tfoot><dl id='d3Vhw'><fieldset id='d3Vhw'></fieldset></dl></div>

        <small id='d3Vhw'></small><noframes id='d3Vhw'>

        如何在 php 中启用 sqlite3 的 PDO 驱动程序?

        How to enable the PDO driver for sqlite3 in php?(如何在 php 中启用 sqlite3 的 PDO 驱动程序?)
      2. <legend id='rnZSI'><style id='rnZSI'><dir id='rnZSI'><q id='rnZSI'></q></dir></style></legend>
          • <tfoot id='rnZSI'></tfoot>

              <tbody id='rnZSI'></tbody>
            • <bdo id='rnZSI'></bdo><ul id='rnZSI'></ul>
                <i id='rnZSI'><tr id='rnZSI'><dt id='rnZSI'><q id='rnZSI'><span id='rnZSI'><b id='rnZSI'><form id='rnZSI'><ins id='rnZSI'></ins><ul id='rnZSI'></ul><sub id='rnZSI'></sub></form><legend id='rnZSI'></legend><bdo id='rnZSI'><pre id='rnZSI'><center id='rnZSI'></center></pre></bdo></b><th id='rnZSI'></th></span></q></dt></tr></i><div id='rnZSI'><tfoot id='rnZSI'></tfoot><dl id='rnZSI'><fieldset id='rnZSI'></fieldset></dl></div>

                1. <small id='rnZSI'></small><noframes id='rnZSI'>

                  本文介绍了如何在 php 中启用 sqlite3 的 PDO 驱动程序?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                  问题描述

                  我的 SQLite 是 3.4.0 版:图片

                  My SQLite is version 3.4.0: image

                  但是我的 phpinfo 对 SQLitev3 的 PDO 支持没有启用/列出:图片

                  However my phpinfo's PDO support for SQLitev3 is not enabled/listed: image

                  如何启用它?我通过 XAMPP 安装了我的网络服务器.

                  How can I enable it? I installed my web server via XAMPP.

                  推荐答案

                  我认为sqlite3的PDO驱动叫做'sqlite',所以你已经安装好了.sqlite2 驱动程序较旧.

                  I think that the PDO driver for sqlite3 is called 'sqlite', so you already have it installed. The sqlite2 driver is older.

                  PDO_SQLITE 是一个驱动程序实现 PHP 数据对象 (PDO)允许访问 SQLite 3 的接口数据库.

                  PDO_SQLITE is a driver that implements the PHP Data Objects (PDO) interface to enable access to SQLite 3 databases.

                  在 PHP 5.1 中,SQLite 扩展也为 SQLite 2 提供驱动程序数据库;虽然在技术上不是PDO_SQLITE 驱动程序的一部分,它行为相似,因此记录在案旁边.SQLite 2 驱动程序提供 PDO 主要是为了使它更容易导入旧版 SQLite 2数据库文件到应用程序使用更快、更高效的SQLite 3 驱动程序.结果,SQLite 2 驱动程序没有那么丰富作为 SQLite 3 驱动程序.

                  In PHP 5.1, the SQLite extension also provides a driver for SQLite 2 databases; while it is not technically a part of the PDO_SQLITE driver, it behaves similarly, so it is documented alongside it. The SQLite 2 driver for PDO is provided primarily to make it easier to import legacy SQLite 2 database files into an application that uses the faster, more efficient SQLite 3 driver. As a result, the SQLite 2 driver is not as feature-rich as the SQLite 3 driver.

                  来自 http://php.net/manual/en/ref.pdo-sqlite.php

                  这篇关于如何在 php 中启用 sqlite3 的 PDO 驱动程序?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                  本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                  相关文档推荐

                  Converting string to MySQL timestamp format in php(在php中将字符串转换为MySQL时间戳格式)
                  datetime to timestamp(日期时间到时间戳)
                  PHP timestamp date to user timezone(PHP时间戳日期到用户时区)
                  Converting TIMESTAMP to unix time in PHP?(在 PHP 中将 TIMESTAMP 转换为 unix 时间?)
                  Convert ISO 8601 to unixtimestamp(将 ISO 8601 转换为 unixtimestamp)
                  Finding days between 2 unix timestamps in php(在php中查找2个unix时间戳之间的天数)
                      <bdo id='RD1it'></bdo><ul id='RD1it'></ul>
                        <legend id='RD1it'><style id='RD1it'><dir id='RD1it'><q id='RD1it'></q></dir></style></legend>

                            <tbody id='RD1it'></tbody>

                          <small id='RD1it'></small><noframes id='RD1it'>

                          • <i id='RD1it'><tr id='RD1it'><dt id='RD1it'><q id='RD1it'><span id='RD1it'><b id='RD1it'><form id='RD1it'><ins id='RD1it'></ins><ul id='RD1it'></ul><sub id='RD1it'></sub></form><legend id='RD1it'></legend><bdo id='RD1it'><pre id='RD1it'><center id='RD1it'></center></pre></bdo></b><th id='RD1it'></th></span></q></dt></tr></i><div id='RD1it'><tfoot id='RD1it'></tfoot><dl id='RD1it'><fieldset id='RD1it'></fieldset></dl></div>
                          • <tfoot id='RD1it'></tfoot>