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.
> > Before Apache::DBI installation I'd using just DBI & PgPP for > > connecting with my PostgreSQL DataBase: > [ ... ] > > After server's restart it couldn't to start up actually. The > > error.log said the following: > [ ... ] > > [Fri Nov 11 21:35:12 2005] [error] Can't load Perl file: C:/Program > > Files/Apache Group/Apache2/conf/startup.pl for server localhost:80, > > exiting... > > Assuming that everything works OK outside of a mod_perl > environment, it may be that your databse needs certain > environment variables set. If so, try setting these > using PerlSetEnv or PerlPassEnv: > http://perl.apache.org/docs/1.0/guide/config.html#PerlSetEnv_and_PerlPassEnv >