Date: 10/02/00
- Next message: Peter Karsten: "[phplib] phplib"
- Previous message: motasem dana: "[phplib] Connecting to oracle 8"
- In reply to: motasem dana: "[phplib] Connecting to oracle 8"
- Next in thread: Peter Karsten: "[phplib] phplib"
- Reply: Peter Karsten: "[phplib] phplib"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
>
>
>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>
- Next message: Peter Karsten: "[phplib] phplib"
- Previous message: motasem dana: "[phplib] Connecting to oracle 8"
- In reply to: motasem dana: "[phplib] Connecting to oracle 8"
- Next in thread: Peter Karsten: "[phplib] phplib"
- Reply: Peter Karsten: "[phplib] phplib"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

