perl-asp mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Chamas <>
Subject Re: Problem with asp module and apache on win98
Date Tue, 27 Nov 2001 09:52:59 GMT
Giorgio D'Anna wrote:
> before I got another error too:
> "flock() unimplemented on this platform at /apache/lib/perl/
> MLDBM/ line xxx"
> but I commented out some lines in and so I fixed that.
> Anyway, since I have read on the documentation that it is possible to
> "disable use of flock() on Win95/98 where it is unimplemented"
> I'd want to know how I can do this (instead of commenting out).

Install a fresh MLDBM::Sync, and then add this to your
httpd.conf file:

*CORE::GLOBAL::flock = sub { 1 };

This is to define a flock to effectively nothing, which will be
fine on win98 for now since mod_perl is serialized on this platform.
I believe this will only work with perl 5.6, but when working things 
out with someone else recently, this seems to do the trick.

If you plan any network communications on win32 apache/mod_perl
via perl I would also recommend that you set MaxThreadsPerChild to 1
which will get rid of odd socket problems.

Joshua Chamas                           Chamas Enterprises Inc.
NodeWorks Founder                       Huntington Beach, CA  USA                1-714-625-4051

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message