Re: cannot connect with oracle8i
| From: | Joerg Behrens | Date: | Fri, 19 Mar 2004 15:05:25 +0000 |
| Subject: | Re: cannot connect with oracle8i | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969359664@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "mahbubul azam" <mahbubak@yahoo.com>
To: <phpdoc@lists.php.net>
Sent: Friday, March 19, 2004 2:31 PM
Subject: [PHP-DOC] cannot connect with oracle8i
> i am still in problem trying to connect oracle8i
> with php4.what i have done is that i install php4 as a
> module of apache server and also oracle at that
> server.
> that means i can run php program by that apache
> server.
> and can use oracle with sqlplus which is installed at
> that apache server.
>
> Now,to connect with oracle8i i am just writing a php
> proram and run it with apache server.but it can find
> no connection function written in that file. for
> example i use $connection = OCILogon ("scott",
> "tiger");
> but the output is Fatal error: Call to undefined
> function: ocilogon() in
> f:\oracle\apache\apache\htdocs\email.php on line 6.
First you must install the Oracle CLient on you machine and create a propper
setup (tnsnames.ora..).
After that you must load the OCI8 Extension into you php. You will found it
in you c:/php/extenion folder.
Next time pls use the right list for those kind of questions.
http://www.php.net/mailing-lists.php
'php-general'
regards
Joerg