ID: 7811
Updated by: thies
Reported By: [EMAIL PROTECTED]
Old-Status: Open
Status: Closed
Bug Type: OCI8 related
Assigned To: 
Comments:

setup problem: once you get sqlplus user/password@instance 
working as the user that runs apache - php will work as 
well.



Previous Comments:
---------------------------------------------------------------------------

[2000-11-14 10:19:47] [EMAIL PROTECTED]
Trying to connect to ORACLE 8 (oracle client 8.1.5.0.0) Data Base I always obtain
this error:
Warning:  _oci_open_server: ORA-12154: TNS:could not resolve service name.

Using php3 no problem arise.

Here is the code:

$user          =   "user";
$password  =   "password";
$dbName    =   "oracle instance";
$conn = OCIPlogon ($user, $password, $dbName);


---------------------------------------------------------------------------



ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=7811&edit=2


-- 
PHP Development 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