Hello Henrik, all,

With kind references from the modperl community, I've managed to confirm a working Win32 modperl stack that will survive an apache restart based on zero application code config. Not only does this stack do exactly that, it is based on a more recent Visual C++ compiler, and claims improved performance over the reference binary from Apache.

Please check out the binaries from:
http://www.apachelounge.com/download/

To summarise the procedures:
1. Install Apache 2.2 binaries from ApacheLounge
2. Install ActivePerl (I tested on build 822)
3. Install modperl via ppd from ApacheLounge
4. Install libapreq2 from http://theoryx5.uwinnipeg.ca/ppms/
5. Insert the following into httpd.conf
ServerSignature on
LoadModule perl_module modules/mod_perl.so
LoadFile "C:/Apache2/bin/libapreq2.dll"
LoadModule apreq_module modules/mod_apreq2.so

My test OS is Windows 2003.

Henrik, I hope this is good news for you.

Thanks guys.

Henrik Schak Hansen wrote:
Hi Foo

I finally gave up on Apahce/modperl2 on win32 in various version
combinations. I kept hoping that newer versions of apache/modperl would
stabilize it but rather it seemed to get worse. Daily apache/modperl
would fail and modperl would restart maybe 10 time within a few minutes
before finally working again. Only because I have a load balancer in
front of several web servers have I been able to keep going.
Anyway, now I have moved to Linux a week ago, and so fare I haven't
experienced any problems (except having to tweak different parameters).
So I cross my fingers and hope it will stay this way.

Not much of help for you I know, but I remember we have talked about
this before....

Regards
Henrik Schak Hansen




-----Oprindelig meddelelse-----
Fra: Foo JH [mailto:[EMAIL PROTECTED] Sendt: 10. august 2007 10:10
Til: modperl@perl.apache.org
Emne: [mp2+Win32] Frustration over Apache 2.0/ 2.2 restart failure

Hi all,

I am rather disappointed (and a little frustrated as well) on modperl's
inability to survive an Apache restart on the Windows platform. The
platform combo tested are Windows 2003 + Apache 2.2 (and Apache 2.0) +
modperl2 + libapreq2

I have come to accept the fact that once in a while modperl on Win32
will segfault, but the old Apache I tried (year 2005 iirc) seems to
recover, though it threw a windows fault dialog that scared the wits out
of my clients. But this time it's just unacceptable. The odd thing is,
if you try to start apache after it failed, it will fail again. You have
to wait about a minute (or more) before starting the server.

I don't mind any creative workarounds. Please share with me any
suggestions or tips that can circumvent this. Thanks much.


-------
[Denne E-mail blev scannet for virus af Declude Virus]
[This E-mail was scanned for viruses by Declude Virus]


Reply via email to