I looked at it as well, and came to the same conclusion, but now i'm begining to wonder if this is stable enough to use on reallife servers, or should we advice to stick to apache1 if there is a need for apache::dbi?.
For freebsd seems to be a patch or something...
>Description: The p5-Apache-DBI port only uses mod_perl (not mod_perl2). The website seems to suggest it will work with mod_perl2, just it's not been that extensively tested. I'm requesting this change because www/rt3 uses this port, and I'm running it on apache2 with mod_perl2. >How-To-Repeat: >Fix: This patch adds an option to build with mod-perl2. This doesn't change the current behaviour if there are no extra defines, so seems fairly safe to apply. --- p5-Apache-DBI-mp2.diff begins here --- diff -ruN p5-Apache-DBI.bak/Makefile p5-Apache-DBI/Makefile --- p5-Apache-DBI.bak/Makefile Mon Jun 9 22:43:46 2003 +++ p5-Apache-DBI/Makefile Tue Jun 10 20:39:27 2003 @@ -15,8 +15,14 @@ MAINTAINER= skv at FreeBSD.org COMMENT= DBI persistent connection, authentication and authorizati +on -RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/www +/mod_perl \ - ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/databases +/p5-DBI +RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/Bundle/DBI.pm:${PORTSDIR}/d +atabases/p5-DBI + +.if defined(WITH_MODPERL2) +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl2.pm:${PORTSDIR}/w +ww/mod_perl2 +.else +RUN_DEPENDS+= ${SITE_PERL}/${PERL_ARCH}/mod_perl.pm:${PORTSDIR}/ww +w/mod_perl +.endif + BUILD_DEPENDS= ${RUN_DEPENDS} PERL_CONFIGURE= yes --- p5-Apache-DBI-mp2.diff ends here ---

"We all agree on the necessity of compromise. We just can't agree on when it's necessary to compromise." - Larry Wall.

In reply to Re^2: Apache2::DBI by jbrugger
in thread Apache2::DBI by thcsoft

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.