Apache Server digest wrote:
> Hi,
>
> I'm trying to configure an apache server on Solaris 2.7 to run Oracle
> Pro*C cgi programs. Whenever I try (and fail) to invoke a Pro*C program,
> apache notes in the error_log that it cannot find the Oracle shared
> library (libclntsh.so.8.0).
>
> I've tried setting several different variables, e.g., LD_LIBRARY_PATH, in
> the apache/bin/apachectl file and also setting them in the root
> environment, from which I start the server. Nothing works so far.
Hmmm... weird. In Unix, when Apache runs, it runs as a user - on my Linux system
it is called "nobody" - this user name needs to have access to whatever libraries
it needs to invoke a CGI script. What Im not sure about is whether Apache is
"chroot'ed" to a specific file-system tree (and so can't find the library) when
it runs or if it ignores certain env vars?
Will have to do more research...
--
Aj.