mirror of
https://github.com/php/doc-pt_br.git
synced 2026-03-23 22:52:12 +01:00
70 lines
2.2 KiB
XML
70 lines
2.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!-- EN-Revision: 86177fa035acc7fdb972855bdd6c0b19edd505cd Maintainer: leonardolara Status: ready -->
|
|
<section xml:id="ref.pdo-oci.installation" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
|
&reftitle.install;
|
|
<para>
|
|
Se o banco de dados Oracle estiver na mesma máquina que o PHP, o software
|
|
de banco de dados já contém as bibliotecas necessárias. Quando o PHP estiver em
|
|
uma máquina diferente, use as bibliotecas gratuitas
|
|
<link xlink:href="&url.oracle.instant.client;">Oracle Instant Client</link>.
|
|
Para obter detalhes, consulte a seção <link linkend="oci8.requirements">Requisitos do OCI8</link>.
|
|
</para>
|
|
|
|
<section xml:id="pdo-oci.installation.php84">
|
|
<title>PHP 8.4</title>
|
|
<para>
|
|
&pecl.moved-ver;8.4.0
|
|
</para>
|
|
<para>
|
|
&pecl.info;
|
|
<link xlink:href="&url.pecl.package;PDO_OCI">&url.pecl.package;PDO_OCI</link>.
|
|
</para>
|
|
</section>
|
|
|
|
<section xml:id="pdo-oci.installation.phplt84">
|
|
<title>PHP < 8.4</title>
|
|
<para>
|
|
Use <option role="configure">--with-pdo-oci[=DIR]</option> para instalar
|
|
a extensão PDO Oracle OCI, onde o <literal>[=DIR]</literal> opcional
|
|
é o diretório base do Oracle. O padrão de <literal>[=DIR]</literal> é a variável
|
|
de ambiente <varname>$ORACLE_HOME</varname>.
|
|
</para>
|
|
<para>
|
|
Use <option role="configure">--with-pdo-oci=instantclient,prefix,version</option>
|
|
para um <acronym>SDK</acronym> do Oracle Instant Client, onde o prefixo e
|
|
a versão são configurados.
|
|
</para>
|
|
<para>
|
|
<screen>
|
|
<![CDATA[
|
|
// Usando $ORACLE_HOME
|
|
$ ./configure --with-pdo-oci
|
|
|
|
// Usando OIC para Linux com RPMs 10.2.0.3 e prefixo /usr
|
|
$ ./configure --with-pdo-oci=instantclient,/usr,10.2.0.3
|
|
]]>
|
|
</screen>
|
|
</para>
|
|
</section>
|
|
</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
|
|
-->
|