first timer - odbc to oracle error

Questions about the MySQL, PostgreSQL, and most other databases, as well as using it with PHP can be asked here.

Moderator: General Moderators

Post Reply
bbleem
Forum Newbie
Posts: 1
Joined: Fri Mar 19, 2004 10:45 am

first timer - odbc to oracle error

Post by bbleem »

New installation on w2kserver, iis
existing odbc connection to Oracle, tests ok, used ok by other systems
Error (below with code) when attempting a connect.

Don't know enough to know where to look for info on this error.

Any assist appreciated.

-bill

Warning: odbc_connect(): SQL error: Specified driver could not be loaded due to system
error 5 (Oracle in OraHome92)., SQL state IM003 in SQLConnect
in C:\Inetpub\phproot\tab.php on line 5

<?php
$dsn = "CBSTST";
$user = "xxxx";
$upasswd = "xxxx";
$conn = odbc_connect($dsn,$user,$upasswd);
echo "conn: $conn";
?>
Post Reply