mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-19 18:38:55 +00:00

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@185914 c90b9560-bf6c-de11-be94-00142212c4b1
84 lines
2.7 KiB
XML
84 lines
2.7 KiB
XML
<?xml version="1.0" encoding="iso-8859-1"?>
|
|
<!-- $Revision: 1.3 $ -->
|
|
<!-- Generated by xml_proto.php v2.2. Found in /scripts directory of phpdoc. -->
|
|
<reference id="ref.ibm-db2">
|
|
<title>IBM DB2, Cloudscape and Apache Derby Functions</title>
|
|
<titleabbrev>ibm_db2</titleabbrev>
|
|
|
|
<partintro>
|
|
<section id="ibm-db2.intro">
|
|
&reftitle.intro;
|
|
<para>
|
|
These functions enable you to access IBM DB2 Universal Database, IBM
|
|
Cloudscape, and Apache Derby databases using the DB2 Call Level Interface
|
|
(DB2 CLI).
|
|
</para>
|
|
</section>
|
|
<section id="ibm-db2.requirements">
|
|
&reftitle.required;
|
|
<para>
|
|
To connect to IBM DB2 Universal Database for Linux, UNIX, and Windows, or
|
|
IBM Cloudscape, or Apache Derby, you must install an IBM DB2 Universal
|
|
Database client on the same computer on which you are running PHP. The
|
|
extension has been developed and tested with DB2 Version 8.2.
|
|
</para>
|
|
<para>
|
|
To connect to IBM DB2 Universal Database for z/OS or iSeries, you also
|
|
require IBM DB2 Connect or the equivalent DRDA gateway software.
|
|
</para>
|
|
<para>
|
|
On Linux or Unix operating systems, ensure that the user invoking the
|
|
PHP executable or SAPI has sourced the DB2 instance environment before
|
|
accessing these functions. If you created a DB2 instance in
|
|
<filename>/home/db2inst1/</filename>, for example, you must issue the
|
|
following command to modify your environment variables to enable access to
|
|
DB2:
|
|
<screen>
|
|
<![CDATA[
|
|
bash$ source /home/db2inst1/sqllib/db2profile
|
|
]]>
|
|
</screen>
|
|
To enable your PHP-enabled Web server to access these functions, you must
|
|
add the same command to your Web server start script (typically
|
|
<filename>/etc/init.d/httpd</filename> or
|
|
<filename>/etc/init.d/apache</filename>).
|
|
</para>
|
|
</section>
|
|
|
|
<!-- Information found in configure.xml -->
|
|
&reference.ibm-db2.configure;
|
|
<!-- Information found in ini.xml -->
|
|
<!--&reference.ibm-db2.ini;-->
|
|
&reference.ibm-db2.constants;
|
|
|
|
<section id="ibm-db2.resources">
|
|
&reftitle.resources;
|
|
<para>
|
|
The ibm_db2 extension returns connection resources, statement resources,
|
|
and result set resources.
|
|
</para>
|
|
</section>
|
|
</partintro>
|
|
&reference.ibm-db2.functions;
|
|
</reference>
|
|
|
|
<!-- 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
|
|
-->
|