
paulohsilvestre
(usa Ubuntu)
Enviado em 19/03/2010 - 10:40h
Bom dia.
Tenho tentado resolver mas sem sucesso, preciso da ajuda da comunidade para solucionar o seguinte problema.
Tenho o PHP5 e está configurado e habilitado o OCI8, porém não tem como fazer meu php conectar ao Oracle, alguém pode me ajudar a Solucionar.
Quando tive um problema semelhante consegui solucionar criando a Variavel Putenv() no PHP e Funcionou mas agora não sei mais o que fazer, consigo usar o tnsping (servico)
######### CONFIGURAÇÃO DO PHP PARA OCI8 ###################################
oci8
OCI8 Support enabled
Version 1.2.4
Revision $Revision: 1.269.2.16.2.38 $
Active Persistent Connections 0
Active Connections 0
Oracle Instant Client Version 11.2
Temporary Lob support enabled
Collections support enabled
Directive Local Value Master Value
oci8.default_prefetch 10 10
oci8.max_persistent -1 -1
oci8.old_oci_close_semantics 0 0
oci8.persistent_timeout -1 -1
oci8.ping_interval 60 60
oci8.privileged_connect Off Off
oci8.statement_cache_size 20 20
#########################################################################
tentei seguir este tutorial
http://www.vivaolinux.com.br/dica/Suporte-PHP5-oci8-no-Oracle-11g-Ubuntu-8.04-Server/ dentre outros
PHP Version 5.2.10-2ubuntu6.4
Apache/2.2.12 (Ubuntu)
Ubuntu 9.10
Agradeceria se alguém puder me ajudar.