Compilar suporte oracle no php.

Notice: Undefined variable: LD_LIBRARY_PATH in /srv/www/lbr.com.br/site/modules/assunto/assunto.php(98) : eval()'d code on line 28
  1. Baixar os pacotes:
    http://suporte.lbr.com.br/oracle/Arquivos/compila%c3%a7%c3%a3o%20php/oci8-1.3.4.tgz
    http://suporte.lbr.com.br/oracle/Arquivos/compila%c3%a7%c3%a3o%20php/oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    http://suporte.lbr.com.br/oracle/Arquivos/compila%c3%a7%c3%a3o%20php/oracle-instantclient-devel-10.2.0.4-1.i386.rpm
    
  2. Instalar os pacotes:
    oracle-instantclient-basic-10.2.0.4-1.i386.rpm
    oracle-instantclient-devel-10.2.0.4-1.i386.rpm
    php-devel
    php-pear
    make
    
  3. Compilar o pacote:
    pear install oci8-1.3.4.tgz
    
    Digitar:
    1
    instantclient,/usr/lib/oracle/10.2.0.4/client/lib
    
  4. Criar o arquivo /etc/php.d/90_oci8.ini
    extension = oci8.so
    
  5. Adicionar no fim do arquivo /etc/profile
    export LD_LIBRARY_PATH=/usr/lib/oracle/10.2.0.4/client/lib:
    
  6. Reiniciar o serviço httpd
IP
3.229.142.91