Perrin Harkins wrote:
On Mon, 2005-05-02 at 20:10 +0800, jiesheng zhang wrote:
I indeed set the $Apache::DBI::DEBUG=2 in the /etc/apache2/mod_perl-startup.pl. However I did not see any debug output in the apache error log file
Did you "use Apache::DBI" in your startup.pl or httpd.conf?
I saw debug information in the apache log file after I added the
use Apache::DBI to the startup.pl. However, this is not mentioned in the Apache::DBI documentation. The documentation only mentioned that I should add PerlModule Apache::DBI to the http.conf.
I think you're not understanding that Apache::DBI is a pure Perl module which you load in the normal way, not a part of mod_perl. You do not need to recompile mod_perl in order to use Apache::DBI.
- Perrin
Thanks