I appears that PHP does not know about the paths for Oracle.  I am only
guessing at this because I haven't installed Oracle on a Linux/Apache box
but I think Apache is not aware of the Oracle paths that are required.  You
might need to recompile Apache with the appropriate configuration
parameters.
-----Original Message-----
From: Vlad <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Thursday, February 22, 2001 7:40 AM
Subject: Re: [PHP-DB] ORA-12154: TNS:could not resolve service name in XXX


>Hi All
>Oracle is installed on SCO UnixWare
>Client that I use to connect on Windows 98
>env variables ORACLE_HOME, TNS_ADMIN for client is correctly defined
>by the way I created ODBC source for my ORACLE connection and tested it.
>Then I tryed to connect using PHP's odbc_connect and have the same
>problem...
>Is there any solution?
>Thanks, Vlad
>
>> Make sure your tnsnames.ora file is setup correctly and that your
>> environment variables are setup correctly.
>>
>> What OS are you using on the machine that Oracle is installed on?
>>
>> Peter J. Krawetzky
>> -----Original Message-----
>> From: Vlad <[EMAIL PROTECTED]>
>> To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
>> Date: Thursday, February 22, 2001 3:25 AM
>> Subject: [PHP-DB] ORA-12154: TNS:could not resolve service name in XXX
>>
>>
>> >Hello All
>> >I have some problems connecting ORACLe from my php script.
>> >connection string:
>> >  $conn = OCILogon("asu", "asu", "asu");
>> >failed with
>> >  ORA-12154: TNS:could not resolve service name in XXX
>> >
>> >Regards, Vlad
>> >e-mail: [EMAIL PROTECTED]
>> >IóQ: 1042225964
>> >
>> >
>> >
>> >--
>> >PHP Database Mailing List (http://www.php.net/)
>> >To unsubscribe, e-mail: [EMAIL PROTECTED]
>> >For additional commands, e-mail: [EMAIL PROTECTED]
>> >To contact the list administrators, e-mail: [EMAIL PROTECTED]
>> >
>> >
>>
>>
>> --
>> PHP Database Mailing List (http://www.php.net/)
>> To unsubscribe, e-mail: [EMAIL PROTECTED]
>> For additional commands, e-mail: [EMAIL PROTECTED]
>> To contact the list administrators, e-mail: [EMAIL PROTECTED]
>>
>>
>
>
>--
>PHP Database Mailing List (http://www.php.net/)
>To unsubscribe, e-mail: [EMAIL PROTECTED]
>For additional commands, e-mail: [EMAIL PROTECTED]
>To contact the list administrators, e-mail: [EMAIL PROTECTED]
>
>


-- 
PHP Database Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to