php-doc-en/reference/oci8/setup.xml
2013-07-29 18:58:35 +00:00

87 lines
2.7 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<chapter xml:id="oci8.setup" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
&reftitle.setup;
<!-- {{{ Requirements -->
<section xml:id="oci8.requirements">
&reftitle.required;
<para>
The OCI8 extension requires Oracle 9iR2, 10g, 11g or 12c Client
libraries. If the Oracle Database is on the same machine as PHP,
the database software already contains the necessary libraries.
When PHP is on a different machine, use the free
<link xlink:href="&url.oracle.instant.client;">Oracle Instant Client</link> libraries.
</para>
<para>
To use Oracle Instant Client, install the <literal>basic</literal>
or <literal>basiclite</literal> Oracle Instant Client ZIP file or
RPM package. When building PHP from source code, also install
the <literal>sdk</literal> ZIP file or <literal>devel</literal> RPM
package.
</para>
<para>
On Windows, the php_oci8 DLL needs client libraries from version 10gR2 or greater.
In PHP 5.3 up to and including PHP 5.3.5, the php_oci8_11g DLL requires Oracle 11gR1 or greater client libraries.
From PHP 5.3.6 the php_oci8_11g DLL requires Oracle 11gR2 or greater client libraries.
With some versions of Instant Client you may additionally
need <filename>mfc71.dll</filename>
and <filename>msvcr71.dll</filename> libraries.
</para>
<para>
You should run PHP with the same, or more recent, version of the
Oracle libraries that OCI8 was built with.
</para>
<note>
<para>
If OCI8 uses 9iR2 or 10g client libraries, then PHP can connect to
Oracle Database 8i, 9iR2, 10g, 11g or 12c. If OCI8 uses 11gR2 client
libraries, the database can be 9iR2, 10g, 11g or 12c. If OCI8 uses 12c
client libraries, the database can be 10gR2, 11g or 12c.
</para>
</note>
<note>
<para>
Full OCI8 feature support is only available when using the most
recent versions of the client libraries and database.
</para>
</note>
</section>
<!-- }}} -->
<!-- {{{ Installation -->
&reference.oci8.configure;
<!-- }}} -->
<!-- {{{ Testing -->
&reference.oci8.testing;
<!-- }}} -->
<!-- {{{ Configuration -->
&reference.oci8.ini;
<!-- }}} -->
</chapter>
<!-- 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
-->