Page 1 of 1

Php -Oracle 8i connection

Posted: Thu Sep 25, 2003 4:14 am
by devork
I have worked on mysql with php and want to make connection of php with oracle 8 i
my oracle and php ,apache are on windows machine
please guide me how to load all the extensions for that
error call to undefined function OCILogin.....
.....

Posted: Thu Sep 25, 2003 12:14 pm
by trollll
Started off trying to get Oracle functions to communicate with it, but ended up just using ODBC instead. Got too many unexplained errors using Oracle functions.

Posted: Fri Sep 26, 2003 1:57 am
by devork
what type of unexplained errors
the only thing that i have to do with oracle 8i db is to query and show results in (php) no insertion ,no updates ....
just need that help about that ....where to get that oracle 8i dll extension
i have used the oracle and ora8i .dll extension in php.ini files
php_oracle.dll is available in my extension dir ...
i have to use the oracle directly .....

Posted: Fri Sep 26, 2003 12:23 pm
by hedge
You need to install the Oracle client... the php_oci8.dll is dependent on that.

Once you can connect with sqlplus (part of the oracle client install) then you are usually on your way.

The only other issue I have ran into is that it can't seem to find my tnsnames.ora so I just put the entire connect string in the oci_connect

Posted: Sat Sep 27, 2003 2:39 am
by devork
I have solved it and got some result through
ora_login("user@TSN","PAsswd"); oracle functions
but trying to do with OCI oracle 8i functions ....
and also trying to do with other methods....


where from i can get this php_oci8.dll extension [download] ?