Re: transaction Apache::DBI

2003-11-19 Thread Christophe Musielak
Le lun 17/11/2003 à 18:16, Perrin Harkins a écrit : > On Mon, 2003-11-17 at 09:30, Jamie Le Tual wrote: > > An interesting test would be to put a sleep(20) adter the delcaration of > > the second database handle, then open a mysql shell and do a : > > show processlist; > > There's no need to go

RE: sorry - RE: strange problem with tied STDIN [mp2]

2003-11-19 Thread "SUCH SANMARTÍN, GERARD"
-Mensaje original- De: Stas Bekman [mailto:[EMAIL PROTECTED] Enviado el: miércoles, 19 de noviembre de 2003 2:02 Para: SUCH SANMARTÍN, GERARD Asunto: Re: sorry - RE: strange problem with tied STDIN [mp2] Gerard, please repost this reply to the dev list as a reply to my followup, and

RE: $r losing its class membership

2003-11-19 Thread Frank Maas
> I've encountered a weird, intermittent problem. I have a Perl handler > that handles a certain URL. Sometimes it will fail because the $r > passed to it loses its class. > > The handler starts with: > > sub handler { > use strict; Could you enter the line print STDERR "Handler called with

Re: [mp1] difference between PassEnv and PerlPassEnv

2003-11-19 Thread Sreeji K Das
--- Sreeji K Das <[EMAIL PROTECTED]> wrote: > I want to access an ENV variable from a CGI script. > I > was assuming that PerlPassEnv would do the job of > apache's PassEnv - but looks like PerlPassEnv is not > exactly same as PassEnv in behaviour ? > > Following example demonstrates my problem:

No/Blank output

2003-11-19 Thread angie ahl
Hi Mod_perl gurus I was just reading a thread about blank output after upgrading to perl 5.8.1 and I've got the same problem The thread previously was subject: Blank output after 5.8.1 upgrade I've got a Linux server runing mod_perl 1 and perl 5.6.0 and apache 1. I've got a laptop running apple

Re: No/Blank output

2003-11-19 Thread Stas Bekman
angie ahl wrote: Hi Mod_perl gurus I was just reading a thread about blank output after upgrading to perl 5.8.1 and I've got the same problem The thread previously was subject: Blank output after 5.8.1 upgrade I've got a Linux server runing mod_perl 1 and perl 5.6.0 and apache 1. I've got a lapt

modperl 1 -> modperl 2 problemZ

2003-11-19 Thread Mark A. Downing
I'm struggling with a problem that I originally had years ago. I have a module that establishes connections to Sybase from Apache. It works fine, but now I'm trying to make it work with Modperl2 and not having much luck. The following code works fine with MP1, but not MP2: sub connect_on_init {

Re: transaction Apache::DBI

2003-11-19 Thread Perrin Harkins
On Wed, 2003-11-19 at 02:34, Christophe Musielak wrote: > hum but connect_cached is quite a recent feature (my production servers > are DBI 0.92) Actually, connect_cached is more than 4 years old. The 0.92 release came out in February 1998! You really need to upgrade. > The last solution is to

Re: modperl 1 -> modperl 2 problemZ

2003-11-19 Thread Stas Bekman
Mark A. Downing wrote: I'm struggling with a problem that I originally had years ago. I have a module that establishes connections to Sybase from Apache. It works fine, but now I'm trying to make it work with Modperl2 and not having much luck. The following code works fine with MP1, but not MP2:

Scripts with lots of output take too long

2003-11-19 Thread Christopher P. Lindsey
Hi everyone, I've been happily converting over a bunch of scripts to use mod_perl since we recently solved my Apache::SSI issues. My main reason for migrating to mod_perl from standard CGI scripts is to improve performance on our Web server. Many scripts take several seconds to r

Re: Scripts with lots of output take too long

2003-11-19 Thread Perrin Harkins
On Wed, 2003-11-19 at 17:17, Christopher P. Lindsey wrote: >However, I've noticed that scripts that generate lot of output take >substantially longer to run than their CGI counterparts. > >As an example, here's the timing on a CGI script (listed first) and >the timing on a mod_perl

SOLVED: Scripts with lots of output take too long

2003-11-19 Thread Christopher P. Lindsey
> >However, I've noticed that scripts that generate lot of output take > >substantially longer to run than their CGI counterparts. > > > >The CGI script took 1.59 seconds to run, whereas the mod_perl version > >took 3.38 seconds. It generates about 321K of output. > > Are you po

mod_perl and the Includes directive

2003-11-19 Thread Wes Barris
I have built apache and a number of modules under Redhat 9. Here are the versions: set apache = 'apache_1.3.29' set modssl = 'mod_ssl-2.8.16-1.3.29' set openssl = 'openssl-0.9.7c' set modperl = 'mod_perl-1.29' set modauthext = 'mod_auth_external-2.1.18' The only difference between this new version

Apache not loading mod_perl.so

2003-11-19 Thread Jim Bacon
I installed (in theory) modperl for Apache2, but I can't get Apache to load mod_perl.so I've got a Windoze 2000 machine, with ActiveState perl : perl -V produces: Characteristics of this binary (from libperl): Compile-time options: MULTIPLICITY USE_ITHREADS USE_LARGE_FILES PERL_IMPLICIT_CONTEXT

Re: Apache not loading mod_perl.so

2003-11-19 Thread Randy Kobes
On Wed, 19 Nov 2003, Jim Bacon wrote: > I installed (in theory) modperl for Apache2, but I can't get Apache to load > mod_perl.so > I've got a Windoze 2000 machine, with ActiveState perl : > perl -V produces: > Characteristics of this binary (from libperl): >Compile-time options: MULTIPLICITY