2010-03-28 22:10:10 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2009-07-11 08:37:21 +00:00
|
|
|
<!-- $Revision$ -->
|
2007-06-20 22:25:43 +00:00
|
|
|
<section xml:id="ref.pdo-ibm.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2006-11-30 08:40:50 +00:00
|
|
|
&reftitle.install;
|
|
|
|
<para>
|
|
|
|
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
|
2007-06-20 22:25:43 +00:00
|
|
|
from the IBM <link xlink:href="&url.ibmdb2.ad;">Application Development
|
|
|
|
Site</link>.
|
2006-11-30 08:40:50 +00:00
|
|
|
</para>
|
|
|
|
<note>
|
2006-12-01 15:11:22 +00:00
|
|
|
<title>Note</title>
|
2006-11-30 08:40:50 +00:00
|
|
|
<para>
|
|
|
|
The DB2 Client v9.1 or later supports direct access to DB2 for Linux,
|
|
|
|
UNIX, and Windows v8 and v9.1 servers.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The DB2 Client v9.1 also supports access to DB2 UDB for i5 and DB2 UDB
|
2007-06-20 22:25:43 +00:00
|
|
|
for z/OS servers using the separately purchased <link xlink:href="&url.ibmdb2.con;">DB2
|
|
|
|
Connect product</link>.
|
2006-11-30 08:40:50 +00:00
|
|
|
</para>
|
|
|
|
</note>
|
|
|
|
<para>
|
2007-06-20 22:25:43 +00:00
|
|
|
PDO_IBM is a <link xlink:href="&url.pecl;">PECL</link> extension, so follow the
|
2006-11-30 08:40:50 +00:00
|
|
|
instructions in <xref linkend='install.pecl' /> to install the PDO_IBM
|
|
|
|
extension. Issue the <command>configure</command> command to point to the
|
|
|
|
location of your DB2 Client header files and libraries as follows:
|
|
|
|
<screen>
|
|
|
|
<![CDATA[
|
2007-11-01 16:40:42 +00:00
|
|
|
bash$ ./configure --with-pdo-ibm=/path/to/sqllib[,shared]
|
2006-11-30 08:40:50 +00:00
|
|
|
]]>
|
|
|
|
</screen>
|
|
|
|
The <command>configure</command> command defaults to the value of the
|
|
|
|
<literal>DB2DIR</literal> environment variable.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
2009-09-25 07:04:39 +00:00
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
2006-11-30 08:40:50 +00:00
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|