Re: Oracle via php under windows 2k
| From: | Philippe Saladin | Date: | Fri, 16 Nov 2001 07:19:59 +0000 |
| Subject: | Re: Oracle via php under windows 2k | ||
| References: | 1 2 3 4 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-14381@lists.php.net to get a copy of this message | ||
See http://www.thickbook.com/extra/php_oracle.phtml
for a simple tutorial.
Note that in my case, I've trouble using OCILogon with its third argument,
for example '@mydb'. I have to use the complete syntax you found in the
oracle file tnsnames.ora, something like
mydb.world =
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = <IP address>)
(Port = <port 1>)
)
(ADDRESS =
(COMMUNITY = tcp.world)
(PROTOCOL = TCP)
(Host = <IP address>)
(Port = <port 1>)
)
)
(CONNECT_DATA = (SID = <oracle ID>)
)
)
Hope this helps.
et bon courage !
Philippe
"Titanesk" <titanesk@free.fr> a écrit dans le message news:
20011115174748.38011.qmail@pb1.pair.com...
> ok, that was already done, ive an Oracle server with database on a
computer
> and on another i ve apache + php +oci8 and the oracle client installed,
what
> to do now for this work ?
>
> "Philippe Saladin" <psaladin@ville-dijon.fr> a écrit dans le message de
> news: 20011115074134.25412.qmail@pb1.pair.com...
> > > If you were using it in linux you would need at last the oracle client
> > > installed locally, I don't know in windows.
> >
> > Yes, the oracle 8 client has to be installed onto the server : it's the
> > middleware between Oracle and the client. See your oracle dba.
> > Regards,
> > Philippe
> >
> >
>
>