Re: AP2.2.7 + MP2.0.3 on Win32

2008-01-17 Thread Foo JH
After some investigation, I realise that it's modperl on Win32 is still more stable on 2.2.4 (ApacheLounge). Some layman findings: 1. Apache2::Reload can cause the startup to crash easily. eg. when you load HTML::Template 2. Fault report on Events is like this: Faulting application httpd.exe, ve

[mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread B Wooster
I have searched through all the web docs and Usenet, but not found anything that suggests anything special has to be done in mod_perl scripts that need to set $ENV{PATH} My specific example is that I need to add /usr/local/bin to PATH, but I''ve been unable to find a way to do this, looks like mod

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread Jim Brandt
What happens if you try running it with the modperl handler instead of the perl-script handler? B Wooster wrote: I have searched through all the web docs and Usenet, but not found anything that suggests anything special has to be done in mod_perl scripts that need to set $ENV{PATH} My specifi

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread B Wooster
Under modperl, get zero bytes output, HTTP response code is 200, though. Apache error_log shows: [Thu Jan 17 12:47:15 2008] -e: Can't exec "basename": No such file or directory at /var/www/perl/script.pl line 12. So, under modperl, changes to $ENV{PATH} are not accepted (like perl-script), but th

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread Bart Schaefer
There's a thread from December that would seem to be related. From that thread: -- Forwarded message -- From: Michael Schout <[EMAIL PROTECTED]> Date: Dec 28, 2007 9:12 PM Subject: Re: mod_perl, ENV{'TZ'}, and localtime To: Kirk Noda <[EMAIL PROTECTED]> Cc: modperl@perl.apache.org

Re: AP2.2.7 + MP2.0.3 on Win32

2008-01-17 Thread J. Peng
thanks, good note. On Jan 14, 2008 5:12 PM, Foo JH <[EMAIL PROTECTED]> wrote: > Hi all, > > Just want to slap a quick note that I've tried the following combo on > Win32 platform (Windows 2003 Server x86): > Apache 2.2.7 from ApacheLounge (apachelounge.com) > modperl 2.0.3 from theoryx5 (ppd) > li

bug Mac os X

2008-01-17 Thread aroul selvam
Hi, I am attaching the bug report while installing mod_perl in Mac OS X Leopard. Can you please let me know the options I have to sort this. regards aroul. bugreport Description: Binary data

[mp2] [question] How to change $ENV{PATH} for a specific script?

2008-01-17 Thread B Wooster
I have searched through all the web docs and Usenet, but not found anything that suggests anything special has to be done in mod_perl scripts that need to set $ENV{PATH} My specific example is that I need to add /usr/local/bin to PATH, but I''ve been unable to find a way to do this, looks like mod

Re: Re: Re: Re: Process exists - Segmentation fault

2008-01-17 Thread calypso singer man
Hi, I was getting some bizarre seg faults with embperl a month or two ago. The site used to work fine, then it started segfaulting all over the place after I did a new linux install. I started erasing huge blocks of code until I found the code responsible: for some reason, having a BEGIN {} block

Re: [mp2] [question] $ENV{PATH} changes not taking effect?

2008-01-17 Thread William A. Rowe, Jr.
Bart Schaefer wrote: There's a thread from December that would seem to be related. From that thread: -- Forwarded message -- From: Michael Schout <[EMAIL PROTECTED]> Date: Dec 28, 2007 9:12 PM The real problem is that this is only safe under a prefork MPM because it is not th

compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-17 Thread James Breat
I am having problems a static mod_perl with Apache 2.2.6 and Perl 5.10.0. I followed the instructions for a static build, but when I type make I get the following errors (only a few same error lines are included): httpd-2.2.6/srclib/apr/include/apr.h:273: error: expected '=', ',', ';', 'asm' o

question on startup.pl overriding perl search path

2008-01-17 Thread c chan
I use "PerlConfigRequire /var/www/html/mypath/startup.pl" in httpd.conf to recompile all the CGIs. Inside startup.pl, I added the line: use lib qw(. mylib); To me amazement, after all the CGI is precompiled, they start to look into the "." and "mylib" path for loading Perl Modules without eve

Re: compiling problems with mod_perl 2.0.3 and Apache 2.2.6

2008-01-17 Thread Heiko Jansen
Am Freitag, den 18.01.2008, 15:47 +1030 schrieb James Breat: > I am having problems a static mod_perl with Apache 2.2.6 and > Perl 5.10.0. Essentially, the answer you need is: Don't use mod_perl2 and Perl 5.10.0 together yet. As far as I know, the mod_perl developers are working on resolving the i