in reply to Issues with DBD::Oracle and an apache environment
Compare the environment when ran from the web to the environment when ran from the command line. Have your perl script print out the entire environment and look for differences.
You might find something like TNS_ADMIN is set in one, but not the other.
It sounds like you are already setting LD_LIBRARY_PATH, ORACLE_HOME, and ORACLE_SIDE -- but also make sure that your library files in the LD_LIBRARY_PATH have adequate permissions for the user who runs your Apache to access them.
Matt
You might find something like TNS_ADMIN is set in one, but not the other.
It sounds like you are already setting LD_LIBRARY_PATH, ORACLE_HOME, and ORACLE_SIDE -- but also make sure that your library files in the LD_LIBRARY_PATH have adequate permissions for the user who runs your Apache to access them.
Matt
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^2: Issues with DBD::Oracle and an apache environment
by l2kashe (Deacon) on Jun 17, 2005 at 15:51 UTC |
In Section
Seekers of Perl Wisdom