On Mon, 21 Nov 2005, Plymouth Rock wrote:

I tried to set PerlSetEnv/PerlPassEnv variables as described in the guide.
It was difficult for me to do it properly as I did it for the first time. I
even could set them incorrectly. Besides that, my mod_perl2 was installed
and set up properly (it works excellently); but saying about Apache::DBI
module I should note that there isn't any mention about those variables in
the corresponding man. Hence, it's most probably, those variables can not be
a cause of my problem.

The docs for Apache::DBI don't mention explicitly which
environment variables to set, as this varies from database
to database. Some databases may require certain environment
variables to work; these may be visible in a cgi environment, but need the PerlSetEnv/PerlPassEnv directives
in a mod_perl environment.

To see if you do need such environment variables,
try (without Apache::DBI) a mod_perl script or handler
that connects to your database and does some simple
operation. Does that work?

--
best regards,
randy kobes

Reply via email to