You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Jay Hannah <jh...@omnihotels.com> on 2004/04/20 00:34:08 UTC
[mp2] DBI::ProfileDumper::Apache, etc.
After struggling for a few hours it appears DBI::ProfileDumper::Apache isn't Apache2/mp2 ready. True?
Has anyone had any luck with any of the DBI profiling mechanisms under Apache2/mp2? I may be able to work around it using command line executions of my scripts, but it sure would be convenient to profile under the actual Apache engine...
Thanks,
j
Apache/2.0.48 (Unix) mod_perl/1.99_13 Perl/v5.8.3 mod_ssl/2.0.48 OpenSSL/0.9.7d
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: [mp2] DBI::ProfileDumper::Apache, etc.
Posted by Stas Bekman <st...@stason.org>.
Jay Hannah wrote:
> After struggling for a few hours it appears DBI::ProfileDumper::Apache
> isn't Apache2/mp2 ready. True?
>
> Has anyone had any luck with any of the DBI profiling mechanisms under
> Apache2/mp2? I may be able to work around it using command line executions
> of my scripts, but it sure would be convenient to profile under the actual
> Apache engine...
Why don't you port it then? It shouldn't be too hard to do. Check:
http://perl.apache.org/docs/2.0/user/porting/porting.html
http://perl.apache.org/docs/2.0/user/porting/compat.html
__________________________________________________________________
Stas Bekman JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide ---> http://perl.apache.org
mailto:stas@stason.org http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org http://ticketmaster.com
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html
Re: [mp2] DBI::ProfileDumper::Apache, etc.
Posted by Perrin Harkins <pe...@elem.com>.
Jay Hannah wrote:
> After struggling for a few hours it appears DBI::ProfileDumper::Apache isn't Apache2/mp2 ready. True?
I think it should work with Apache::Compat. The only thing I see it
using is Apache->server_root_relative().
You could also just run apache with the -X switch (i.e. run only one
process/thread) and use the standard DBI::ProfileDumper. (Make sure the
environment variables get passed to mod_perl.)
- Perrin
--
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html