Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > by-pkgid > 05cd670d8a02b2b4a0ffb1756f2e8308 > files > 10935

php-manual-zh-5.2.4-1mdv2008.1.noarch.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<HTML
><HEAD
><TITLE
>IBM Functions (PDO_IBM)</TITLE
><META
NAME="GENERATOR"
CONTENT="Modular DocBook HTML Stylesheet Version 1.79"><LINK
REL="HOME"
TITLE="PHP 手册"
HREF="index.html"><LINK
REL="UP"
TITLE="函数参考"
HREF="funcref.html"><LINK
REL="PREVIOUS"
TITLE="locale_set_default"
HREF="function.locale-set-default.html"><LINK
REL="NEXT"
TITLE="PDO_IBM DSN"
HREF="ref.pdo-ibm.connection.html"><META
HTTP-EQUIV="Content-type"
CONTENT="text/html; charset=UTF-8"></HEAD
><BODY
CLASS="reference"
BGCOLOR="#FFFFFF"
TEXT="#000000"
LINK="#0000FF"
VLINK="#840084"
ALINK="#0000FF"
><DIV
CLASS="NAVHEADER"
><TABLE
SUMMARY="Header navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TH
COLSPAN="3"
ALIGN="center"
>PHP 手册</TH
></TR
><TR
><TD
WIDTH="10%"
ALIGN="left"
VALIGN="bottom"
><A
HREF="function.locale-set-default.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="80%"
ALIGN="center"
VALIGN="bottom"
></TD
><TD
WIDTH="10%"
ALIGN="right"
VALIGN="bottom"
><A
HREF="ref.pdo-ibm.connection.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
></TABLE
><HR
ALIGN="LEFT"
WIDTH="100%"></DIV
><DIV
CLASS="reference"
><A
NAME="ref.pdo-ibm"
></A
><DIV
CLASS="TITLEPAGE"
><H1
CLASS="title"
>LIX. IBM Functions (PDO_IBM)</H1
><DIV
CLASS="PARTINTRO"
><A
NAME="AEN79017"
></A
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="pdo-ibm.intro"
>简介</A
></H1
><P
>&#13;     PDO_IBM is a driver that implements the <A
HREF="ref.pdo.html"
>PHP Data
     Objects (PDO)</A
> interface to enable access from PHP to IBM databases.
    </P
></DIV
><DIV
CLASS="section"
><H1
CLASS="section"
><A
NAME="ref.pdo-ibm.installation"
>安装</A
></H1
><P
>&#13;  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 <A
HREF="http://www.ibm.com/software/data/db2/ad"
TARGET="_top"
>Application Development 
  Site</A
>.
 </P
><DIV
CLASS="note"
><BLOCKQUOTE
CLASS="note"
><P
><B
>Note: </B
>
    The DB2 Client v9.1 or later supports direct access to DB2 for Linux, 
    UNIX, and Windows v8 and v9.1 servers.
   </P
><P
>&#13;    The DB2 Client v9.1 also supports access to DB2 UDB for i5 and DB2 UDB 
    for z/OS servers using the separately purchased <A
HREF="http://www.ibm.com/software/data/db2/db2connect"
TARGET="_top"
>DB2 
    Connect product</A
>.
   </P
></BLOCKQUOTE
></DIV
><P
>&#13;  PDO_IBM is a <A
HREF="http://pecl.php.net"
TARGET="_top"
>PECL</A
> extension, so follow the 
  instructions in <A
HREF="install.pecl.html"
>µÚ 7 章</A
> to install the PDO_IBM 
  extension. Issue the <B
CLASS="command"
>configure</B
> command to point to the 
  location of your DB2 Client header files and libraries as follows:
  <TABLE
BORDER="0"
BGCOLOR="#E0E0E0"
CELLPADDING="5"
><TR
><TD
><PRE
CLASS="screen"
>bash$ ./configure --with-pdo-ibm=/path/to/sqllib[,shared]</PRE
></TD
></TR
></TABLE
>
  The <B
CLASS="command"
>configure</B
> command defaults to the value of the 
  <TT
CLASS="literal"
>DB2DIR</TT
> environment variable. 
 </P
></DIV
></DIV
><DIV
CLASS="TOC"
><DL
><DT
><B
>目录</B
></DT
><DT
><A
HREF="ref.pdo-ibm.connection.html"
>PDO_IBM DSN</A
>&nbsp;--&nbsp;Connecting to IBM databases</DT
></DL
></DIV
></DIV
></DIV
><DIV
CLASS="NAVFOOTER"
><HR
ALIGN="LEFT"
WIDTH="100%"><TABLE
SUMMARY="Footer navigation table"
WIDTH="100%"
BORDER="0"
CELLPADDING="0"
CELLSPACING="0"
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
><A
HREF="function.locale-set-default.html"
ACCESSKEY="P"
>上一页</A
></TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="index.html"
ACCESSKEY="H"
>起始页</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
><A
HREF="ref.pdo-ibm.connection.html"
ACCESSKEY="N"
>下一页</A
></TD
></TR
><TR
><TD
WIDTH="33%"
ALIGN="left"
VALIGN="top"
>locale_set_default</TD
><TD
WIDTH="34%"
ALIGN="center"
VALIGN="top"
><A
HREF="funcref.html"
ACCESSKEY="U"
>上一级</A
></TD
><TD
WIDTH="33%"
ALIGN="right"
VALIGN="top"
>PDO_IBM DSN</TD
></TR
></TABLE
></DIV
></BODY
></HTML
>