You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Cure <cu...@cureable.com> on 2005/04/26 00:46:30 UTC

connections

I have the following info in my startup file -->
Apache::DBI->connect_on_init("DBI:mysql:database=mmg;host=HOST","user","pass");


<-- That worked perfect in mod_perl1, now that I'm using mod_perl2 I get 
the following info in my error log when starting apache -->

[Mon Apr 25 17:45:50 2005] startup.perl: Apache.pm was not loaded


If I put use Apache::compat in the startup, then the error message goes 
away.


Not sure how to solve this issue.


Cure