mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-19 10:28:54 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@334758 c90b9560-bf6c-de11-be94-00142212c4b1
78 lines
2.6 KiB
XML
78 lines
2.6 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- $Revision$ -->
|
|
<section xml:id="ibm-db2.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&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 <link xlink:href="&url.ibm.db2.client;">support site</link>.
|
|
</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 <link xlink:href="&url.pecl;">PECL</link> 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>
|
|
<para>
|
|
<note>
|
|
<title>Note for IIS users</title>
|
|
<para>
|
|
If you are using the ibm_db2 driver with Microsoft Internet Information Server (IIS)
|
|
you may have to do the following:
|
|
</para>
|
|
<para>
|
|
<simplelist>
|
|
<member>
|
|
Install DB2 with extended operating system security.
|
|
</member>
|
|
<member>
|
|
Add the PHP binary path to the <envar>PATH</envar> system environment variable (default C:\php\).
|
|
</member>
|
|
<member>
|
|
Create another system environment variable equal to the path where the PHP.INI file is located (eg: PHPRC = C:\php\).
|
|
</member>
|
|
<member>
|
|
Add the IUSR_COMPUTERNAME to the DB2USERS group.
|
|
</member>
|
|
</simplelist>
|
|
</para>
|
|
</note>
|
|
</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:"~/.phpdoc/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
|
|
-->
|