You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Mark Doyle <do...@aps.org> on 2000/12/15 20:20:42 UTC
Apache::Reload and environment variables
Greetings,
I tried using Apache::Reload:
PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/
PerlModule Apache::DBI
[...]
PerlModule Apache::Reload
PerlInitHandler Apache::Reload
PerlSetVar ReloadAll Off
but when I do, the error log gets filled with
"ORACLE_HOME not set!"
Only one module (one that doesn't use DBI) has a 'use
Apache::Reload" in it.
Any one know why this happens?
Cheers,
Mark
Re: Apache::Reload and environment variables
Posted by Jimi Thompson <jt...@link.com>.
Mark,
If the variable ORACLE_HOME doesn't change why not just set it as an
environment variable outside the program and export it?
Mark Doyle wrote:
>
> Greetings,
>
> I tried using Apache::Reload:
>
> PerlSetEnv ORACLE_HOME /oracle/app/oracle/product/8.0.3/
> PerlModule Apache::DBI
> [...]
> PerlModule Apache::Reload
> PerlInitHandler Apache::Reload
> PerlSetVar ReloadAll Off
>
> but when I do, the error log gets filled with
> "ORACLE_HOME not set!"
>
> Only one module (one that doesn't use DBI) has a 'use
> Apache::Reload" in it.
>
> Any one know why this happens?
>
> Cheers,
> Mark