Re: IIS + Oracle 7.* connection
| From: | Philippe Saladin | Date: | Tue, 26 Mar 2002 07:52:16 +0000 |
| Subject: | Re: IIS + Oracle 7.* connection | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-12755@lists.php.net to get a copy of this message | ||
- First of all, you would use php_oci8.dll, instead of php_oracle.dll. It is
the newest driver to access Oracle database (both oracle 8 AND ORACLE 7).
- You also need the "oracle client" onto the PC where your website is
installed. Ask your dba if you don't know how to install it (nb : it is
located in the cédérom, when you launch the "oracle installer", select
something like "oracle client", or "oci client", I don't remember
exactly...). Actually, this is not installed. This is why you get the
ORA-03121 error.
- try this simple tutorial http://www.thickbook.com/extra/php_oracle.phtml
Hope this helps !!
Regards,
Philippe
"Daniel Ryhle" <base@ogc.nu> a écrit dans le message news:
20020325155627.27614.qmail@pb1.pair.com...
> Hi!
> I never connected to a oraxcle db before and this is my problem:
>
> I need to connect to an oracle db through the network.
> I have SID, user id, pass and ip adress.
>
> My IIS system is placed on a win2k machine with php4 installed.
>
> Can anybody post the complete code over a login/query procedure
> against oracle(NOT 8). I would be extra happy if it contained some
comments.
>
> As of now i only get the error "PHP Warning: Oracle: Connection Failed:
> ORA-03121: no interface driver connected - function not performed in
> \*\*.php on line 4 "
>
> Greatful for all help
>
>