Hi,
    I added the code folow in the config file, but the Apache ::DBI
module continue don't working. If I don't load the Apache::DBI module,
the apache works correctly. Using only the DBI and DBD::Oracle modules,
I can access the Oracle database no problems. Really the problem must be
in the Apache::DBI, but I don't know where. Can anybody help me?
    Thanks,

Ian Kallen wrote:

> > #!/usr/bin/perl
> >
> > use strict;
> >
> > # Extend @INC if needed
> > use lib qw(/dir/foo /dir/bar);
>
> # ok, setup the Oracle and (optionally) the debug DBI environment
> BEGIN {
>     $ENV{'ORACLE_HOME'}='/highway/to/orac/hell';
>     $ENV{DBI_TRACE}="3=/var/tmp/dbitrace.log";
> }
>
> >
> > # Make sure we are in a sane environment.
> > $ENV{MOD_PERL} or die "not running under mod_perl!";
>
> ciao
>
> --
> Salon Internet                         http://www.salon.com/
>   Manager, Software and Systems "Livin' La Vida Unix!"
> Ian Kallen <[EMAIL PROTECTED]> / AIM: iankallen / Fax: (415) 354-3326
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

--
________________________________________________
            Edmar Edilton da Silva
    Bacharel em Ciência da Computacão - UFV
  Mestrando em Ciência da Computacão - UNICAMP
________________________________________________


Reply via email to