downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | conferences | my php.net

search for in the

Instalación> <Instalación/Configuración
[edit] Last updated: Fri, 17 May 2013

view this page in

Requerimientos

La extensión OCI8 requiere la biblioteca cliente de Oracle 9iR2, 10g o 11g. Si Oracle Database está en la misma máquina que PHP, el software de la base de datos ya contiene las bibliotecas necesarias. Cuando PHP está en una máquina diferente, se han de usar las bibliotecas » Oracle Instant Client gratuitas.

Para usar Oracle Instant Client, se ha de instalar el fichero ZIP basic o basiclite de Oracle Instant Client, o el paquete RPM. Cuando se construye PHP desde el código fuente, también se ha de instalar el fichero ZIP sdk o el paquete RPM devel.

En Windows, la DLL php_oci8 necesita la versión 10gR2 o superior de la biblioteca cliente. En PHP 5.3, hasta e incluyendo PHP 5.3.5, la DLL php_oci8_11g requiere la biblioteca cliente Oracle 11gR1 o superior. Desde PHP 5.3.6, la DLL php_oci8_11g requiere la biblioteca cliente Oracle 11gR2 o superior. Con algunas versiones de Instant Client además podrían ser necesarias las bibliotecas mfc71.dll y msvcr71.dll.

Se debería ejecutar PHP con la misma, o más reciente, versión de las bibliotecas de Oracle con las que fue construida OCI8.

Nota:

Si OCI8 utiliza las bibliotecas cliente 9iR2 o 10g, PHP puede conectarse a Oracle Database 8i, 9iR2, 10g o 11g. Si OCI8 utiliza la bliblioteca cliente 11g, las bases de datos puede ser 9iR2, 10g o 11g.

Nota:

El soporte completo para las características de OCI8 sólo está disponible cuando se usan las versiones más recientes de las bibliotecas cliente y de la base de datos.



add a note add a note User Contributed Notes Requerimientos - [1 notes]
up
-1
dha at octo dot com
2 years ago
If you plan to use Oracle Internet Directory with LDAPS, you NEED to compile the php-ldap library with Oracle Support.

Also, with OID 10g I had to create a folder, reference it in the env variable $ORACLE_HOME, and copy in it three ldap message files found in my OID installation.

At the end, my $ORACLE_HOME looked like this :
ldap
  mesg
    ldapf.msb
    ldapus.msb
    ldapus.msg
   
(Note that the ldapf.msb is here because I have a french installation of OID)

To use ldaps, you will need to use ldap_connect this way :

ldap_connect(host,port,"file://path/to/wallet",walletpassword,sslauth)

Your wallet only needs to contain the CA (secure) certificate.

with sslauth being :
  1 for no ssl authentication
  32 for ssl server authentication
  64 for ssl mutual authentication

 
show source | credits | stats | sitemap | contact | advertising | mirror sites