On Mon, 2003-12-15 at 16:29, Kevin Old wrote:
> I have concluded that for some weird reason mod_perl
> seems to want to use the unixODBC Driver Manager instead of the iODBC
> Driver Manager....is there some environmental variable that can force
> mod_perl to use iODBC?

This really isn't about mod_perl.  The issue is that you have a
difference between your command-line environment and your mod_perl
environment.  What you need to do is find out what the difference is and
fix it.

Here are a few things to look at:

- Contents of %ENV
- Permissions on files and directories (are they readable by the user
mod_perl runs under?)
- Verify that you are really using the same Perl binary under mod_perl
as on the command-line.
- Run in -X mode and strace the process to see what it's doing.

> use Apache::DBI; #commented out for command line run

Try leaving that out under mod_perl too.

> I've looked high and low and there is simply nothing with mod_perl
> connecting to ODBC sources in the archives.

That's because mod_perl doesn't have any direct interaction with ODBC,
or DBI for that matter.  This is just an issue with your setup which you
need to track down.

- Perrin


-- 
Reporting bugs: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html

Reply via email to