Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Oracle805 & PHP305 library problem
Uli,
I don't believe that PHP has finished the native Oracle drivers yet. Try using ODBC:
$mydb = odbc_pconnect("OracleLocal", "Scott", "Tiger"); $sql_stmt = " SELECT lname, fname
FROM foo"; $result = odbc_exec($my_db, $sql_stmt);$count = 0;
odbc_result(result, 2));$count ++
Jay!!!
P.S> Your email address is not a newsgroup :)
Uli wrote:
> Hello,
> i've following problem
> when i try to compile php3 with oracle support i got an error message
> like this:
> ld :error library -lsqlnet not found
> ld :error library -lc3v6t not found
> ld :error library -lcore3 not found
> my system: Solaris 2.6 intel
> Oracle 8.0.5
> PHP 3.0.5
>
> oracle says that these libraries only ORA7 contains.
> But in the PHP configure script they are hard-coded unter Oracle 8
> Whats right?
>
> Bye Uli
Received on Thu Nov 19 1998 - 14:18:35 CST