首页 > 试题广场 >

如果在PHP中使用Oracle数据库作为数据库服务器,应该在

[单选题]
如果在PHP中使用Oracle数据库作为数据库服务器,应该在PDO中加载下面哪个驱动程序?
  • PDO_DBLIB
  • PDO_MYSQL
  • PDO_OCI
  • PDO_ODBC
PDO_DBLIB:FreeTDS / Microsoft SQL Server / Sybase
PDO_ODBC:ODBC v3 (IBM DB2, unixODBC and win32 ODBC)
PDO_OCI:Oracle Call Interface
发表于 2018-03-25 11:54:08 回复(0)
pdo_oci 扩展会替代 pdo 扩展实现 oracle 数据库 api
发表于 2015-04-09 20:52:43 回复(0)
PDO_OCI 
PDO_OCI is a driver that implements the  PHP Data Objects (PDO) interface  to enable access from PHP to Oracle databases through the OCI library.
编辑于 2015-02-25 19:12:33 回复(0)

PHP 数据对象 (PDO) 扩展为PHP访问数据库定义了一个轻量级的一致接口。

PDO 提供了一个数据访问抽象层,这意味着,不管使用哪种数据库,都可以用相同的函数(方法)来查询和获取数据。

PDO随PHP5.1发行,在PHP5.0的PECL扩展中也可以使用,无法运行于之前的PHP版本。

发表于 2019-11-03 10:30:33 回复(0)
PDO Driver:
发表于 2018-11-15 11:14:36 回复(0)
pdo_oci 使用Oracle当做数据库
发表于 2018-03-09 20:51:07 回复(0)
C.    Full OCI8 feature support is only available when using the most recent versions of the Oracle client libraries and database
发表于 2017-06-22 22:18:38 回复(0)
php中使用Oracle数据库作为服务器时PDO需要加载 PDO_OCI驱动程序
PDO_OCI is a driver that implements the  PHP Data Objects (PDO) interface  to enable access from PHP to Oracle databases through the OCI library. 
编辑于 2017-03-03 15:40:27 回复(0)
php中使用Oracle数据库作为服务器时PDO需要加载PDO_OCI驱动程序
发表于 2016-05-16 20:55:07 回复(0)
D?
发表于 2015-02-17 19:48:28 回复(1)