php-doc-en/reference/pdo_odbc/configure.xml
Jean-Sébastien Goupil 0f97b3ff46 add revision + comment at the end of the file
git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@197058 c90b9560-bf6c-de11-be94-00142212c4b1
2005-09-27 15:24:41 +00:00

81 lines
2.6 KiB
XML

<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<section id="ref.pdo-odbc.installation">
&reftitle.install;
<procedure id="ref.pdo-odbc.install.unix">
<title>PDO_ODBC on UNIX systems</title>
<step>
<para>
As of PHP 5.1, PDO_ODBC is included in the PHP source. You can compile the
PDO_ODBC extension as either a static or shared module using the following
<command>configure</command> commands.
<variablelist>
<varlistentry>
<term>ibm_db2</term>
<listitem>
<para>
<screen><![CDATA[
./configure --enable-pdo_odbc=ibm-db2,/opt/IBM/db2/V8.1/
]]></screen>
To build PDO_ODBC with the ibm-db2 flavour, you have to have
previously installed the DB2 application development headers on the
same machine on which you are compiling PDO_ODBC. The DB2 application
development headers are an installable option in the DB2 servers, and
are also available as part of 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 do not supply a location for the DB2 libraries and headers to
the <command>configure</command> command, PDO_ODBC defaults to
<filename class="directory">/home/db2inst1/sqllib</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>unixODBC</term>
<listitem>
<para>
<screen><![CDATA[
./configure --enable-pdo_odbc=unixODBC,/usr/local
]]></screen>
If you do not supply a location for the unixODBC libraries and
headers to the <command>configure</command> command, PDO_ODBC
defaults to <filename class="directory">/usr/local</filename>.
</para>
</listitem>
</varlistentry>
<varlistentry>
<term>generic</term>
<listitem>
<screen><![CDATA[
./configure --enable-pdo_odbc=generic,/usr/local,libname,ldflags,cflags
]]></screen>
</listitem>
</varlistentry>
</variablelist>
</para>
</step>
</procedure>
</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
-->