• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • IBM(PDO)

    简介

    PDO_IBM是实现PHP数据对象(PDO)接口以允许从PHP访问IBM数据库的驱动程序。

    安装

    To build the PDO_IBM extension, the DB2 Client v9.1 or later must be installed on the same system as PHP. The DB2 Client can be downloaded from the IBM » Application Development Site.要构建PDO_IBM扩展,必须将DB2 Client v9.1或更高版本与PHP安装在同一系统上。可以从IBM»应用程序开发站点下载DB2客户机。

    Note:Note

    The DB2 Client v9.1 or later supports direct access to DB2 for Linux, UNIX, and Windows v8 and v9.1 servers.

    The DB2 Client v9.1 also supports access to DB2 UDB for i5 and DB2 UDB for z/OS servers using the separately purchased » DB2 Connect product.

    PDO_IBM is a » PECL extension, so follow the instructions in PECL 扩展库安装 to install the PDO_IBM extension. Issue the configure command to point to the location of your DB2 Client header files and libraries as follows:

    bash$ ./configure --with-pdo-ibm=/path/to/sqllib[,shared]
    
    The configure command defaults to the value of theDB2DIRenvironment variable.


    Table of Contents

    • PDO_IBM DSN—连接到IBM数据库

    上篇:Firebird(PDO)

    下篇:Informix(PDO)