Re: Connect to Oracle DB
| From: | Frederico Madeia | Date: | Fri, 12 Sep 2003 21:36:47 +0000 |
| Subject: | Re: Connect to Oracle DB | ||
| References: | 1 2 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-30486@lists.php.net to get a copy of this message | ||
Martin,
In some doc that i've read when i compile the php i must put yhe
$ORACEL_HOME path, so if oracle isn't instaled on same machine ???
--
Frederico Madeira
Coordenador de Suporte
N. Landim Comércio Ltda
PABX: 81. 3497.3029
e-mail: fred@farmaciadospobres.com.br
Em Sex, 2003-09-12 às 13:15, Martin Marques escreveu:
> El Vie 12 Sep 2003 15:52, Frederico Madeia escribió:
> > Dear friends,
> >
> > How i connect one server running PHP(linux) to other server running
> > Oracle(linux) ??
> > when i tryed to connect with ora_logon, the server return me: Call to
> > undefined function: ora_logon().
> >
> > In php.net describe some functions to connect to oracle,. but how i make
> > to do work ???
> > I must install oracle on same server that runing php ??
>
> 1) Oracle and PHP can be on different servers (in some cases it's better to
> have them separeted).
> 2) they don't even have to be on the same OS, even though it's a good idea.
> 3) Your erro is due to the fact that you don't have an oracle-featured PHP
> installed, so you have to recompile PHP with the --with-oracle option, or try
> to get a shared library for oracle support for your PHP version.