Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: ORACLE ENV UNDER CGI
Hello,
i use PHP3 as server-based html parser to connect to Oracle, and this problem is resolved by calling PutEnv function. I believe that C function putenv() can help out.
Regards,
Igor
Mike Hankey wrote:
>
> I have an pro c cgi application that works fine from the command line.
> When I execute it through the browser I get an error because it can't
> find the $ORACLE_HOME .
>
> I asked my sys admin if we could add the ORACLE environment variables to
> the profile of nobody(the http process uid) but he said he knew of no
> way to alter nobody's profile.
>
> I thought about setting the environment variables from with in my C
> program but I'm not sure how to do that. Any help is greatly
> appreciated.
>
> TIA
>
> Mike
--
Igor Sereda,
ITC, Russia
Received on Tue Apr 14 1998 - 12:33:09 CDT
![]() |
![]() |