I ran that command as root and the file is found:
$ perl -MDBD::Oracle -E 'say $INC{qq{DBD/Oracle.pm}}' /usr/local/lib64/perl5/5.32/DBD/Oracle.pm
Permissions on the file allow access to the file by the users as well as root. I can tail Oracle.pm as a user.
Regarding the environment variables. That was an issue, but not THE issue. I had to add my environment variables to /etc/httpd/conf.d/env.conf and restart httpd for apache to see them. I'm not sure how else I could update the environment variables for the apache user. One thing I can't seem to do is add the /usr/local/instantclient directory to the path, since the env.conf file doesn't support expanding $PATH.
Thanks for the help. It's appreciated!
In reply to Re^2: Can't locate loadable object for module DBD::Oracle in @INC
by Calab
in thread Can't locate loadable object for module DBD::Oracle in @INC
by Calab
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |