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

我的sqlite版本是3.4.0:
image

但是我的PHPinfo对sqlitev3的PDO支持未启用/列出:
image

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

我认为sqlite3的PDO驱动程序称为’sqlite’,所以你已经安装了它. sqlite2驱动程序较旧.

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

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

相关文章

统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...
前言 之前做了微信登录,所以总结一下微信授权登录并获取用户...
FastAdmin是我第一个接触的后台管理系统框架。FastAdmin是一...
之前公司需要一个内部的通讯软件,就叫我做一个。通讯软件嘛...
统一支付是JSAPI/NATIVE/APP各种支付场景下生成支付订单,返...