php-doc-en/reference/ibm_db2/configure.xml
2005-09-01 16:02:40 +00:00

53 lines
1.8 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.4 $ -->
<section id="ibm-db2.installation">
&reftitle.install;
<para>
To build the ibm_db2 extension, the DB2 application development header
files and libraries must be installed on your system. DB2 does not install
these by default, so you may have to return to your DB2 installer and add
this option. The header files are included with the DB2 Application
Development Client freely available for download from the IBM DB2 Universal
Database <ulink url="&url.ibm.db2.client;">support site</ulink>.
</para>
<para>
If you add the DB2 application development header files and libraries to
a Linux or Unix operating system on which DB2 was already installed, you
must issue the command <command>db2iupdt -e</command> to update the symbolic
links to the header files and libraries in your DB2 instances.
</para>
<para>
ibm_db2 is a <ulink url="&url.pecl;">PECL</ulink> extension, so follow the
instructions in <xref linkend='install.pecl' /> to install the ibm_db2
extension for PHP. Issue the <command>configure</command> command to point
to the location of your DB2 header files and libraries as follows:
<screen>
<![CDATA[
bash$ ./configure --with-IBM_DB2=/path/to/DB2
]]>
</screen>
The <command>configure</command> command defaults to
<filename class='directory'>/opt/IBM/db2/V8.1</filename>.
</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
sgml-default-dtd-file:"../../../manual.ced"
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
-->