Re: [phplib] Connecting to oracle 8 From: Gerry W. Paterson (g.w.paterson <email protected>)
Date: 10/02/00

>
>
>when i run a PHP that connect to oracle using OCILogon
>
>i receive the error (ORA-12154 could not resolve
 
>service name)

I guess this depends a bit on the platform you have but make sure that the
environment variable TNS_ADMIN is set corectly for the php user. Alternatively
this can be added to a script with:
putenv("TNS_ADMIN=/var/opt/oracle");
(along with ORACLE_SID and ORACLE_HOME if not already set).

Gerry
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: phplib-unsubscribe <email protected>
For additional commands, e-mail: phplib-help <email protected>