Well, how could i define the $ORACLE_HOME in the connection string?
----- Original Message -----
From: "Scott Dial" <[EMAIL PROTECTED]>
To: "John" <[EMAIL PROTECTED]>
Sent: Thursday, August 05, 2004 3:03 PM
Subject: Re: DBD::Oracle seems not working through Apache
> ie:
>
> $ENV{ORACLE_HOME}='/u01/oracle/product/app/root1';
> $ENV{ORACLE_SID}='prd';
>
> On Thu, 5 Aug 2004, John wrote:
>
> > Hello
> >
> > I have created an perl script that connect to an oracle server and
execute a query.
> >
> > When i run the perl script as root (in the shell) it works great, but
when i run it through the Apache server (php: system("perl oracle.pl")) it
fails.
> >
> > The apache server runs as wwwrun:www
> >
> > Do you know where is the problem?
> >
> > Thanks in advance.
> >
> > john
>
>