Re: OCI ORA-12154 error

From: Date: Thu, 18 Jan 2001 15:11:23 +0000
Subject: Re: OCI ORA-12154 error
References: 1 2 3 4 5  Groups: php.db 
Request: Send a blank email to php-db+get-5957@lists.php.net to get a copy of this message
Hallo Andreas, hi Richard, hola David, with your help I now found the problem. when I checked with echo phpinfo(INFO_ENVIRONMENT); I saw that ORACLE_HOME was not set anymore and LD_LIBRARY_PATH was set wrong. I first tried to set these variables with putenv("ORACLE_HOME=/opt/oracle/product...... "); again, but when I then checked these values directly after that with echo getenv("ORACLE_HOME"); they were not changed. Then I checked the /etc/rc.d/apache startscript and there was a set and export to these variables. After I removed this and startet the apache again everything worked fine So now I can access my database again with tnsping, sqlplus and OCI under php thx all Rainer

« previous php.db (#5957) next »