Instalar Oracle Instant Client no CentOS 7
  1. Copie da LBr os arquivos de pacote RPM do Oracle Instant Client:
    • oracle-instantclient-basic-10.2.0.3-1.x86_64.rpm
    • oracle-instantclient-devel-10.2.0.3-1.x86_64.rpm
    [root@localhost download]# scp -P56322 aljr@lbr.com.br:/srv/iso/oracle/*10.2.0.3-1* .
  2. Instale os arquivos RPM do Oracle Instant Client:
    [root@localhost download]# yum install oracle-instantclient-*
  3. Instale o php72w-pear:
    [root@localhost download]# yum install php72w-pear
  4. Instale o php72w-devel:
    [root@localhost download]# yum install php72w-devel
  5. Instale o gcc:
    [root@localhost download]# yum install gcc
  6. Compile e instale o oci8:
    [root@localhost download]# pecl install oci8
  7. Crie o arquivo /etc/php.d/oci8.ini:
    ; Enable oci8 extension module
    extension=oci8.so
IP
3.235.179.111