Another way (if you want to compile mod_perl using "apxs" as a loadable
module seperatly) is to add extra flags to apache that match perls large
file support. To see if perl was compiled with largefiles support run:
perl -V | grep "uselargefiles=define"
if that is specified then set the folloeing env vars when configuring
apache:
CFLAGS="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64"
export CFLAGS;
CFLAGS_SHLIB="-D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64";
export CFLAGS_SHLIBi;
this will add these defines to what "apxs" compiles modules with. I hope
that this helps.
-- CHris
----- Original Message -----
From: "Matt Sergeant" <[EMAIL PROTECTED]>
To: "Christopher Burns" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Sunday, June 15, 2003 3:16 AM
Subject: Re: large files flags .. ?
> On Saturday, Jun 14, 2003, at 19:49 Europe/London, Christopher Burns
> wrote:
>
> > I have apache up and running, but when I enter the necessary axkit
> > configuration lines in httpd.conf, i get segfaults whenever I try to
> > open a page on my server.
> >
> > the axkit FAQ says the following:
> >
> >>>> Another potential problem is with SSL enabled and PHP compiled in
> > this is due to a conflict between large files support between apache
> > and
> > mod_perl and/or PHP. To fix this recompile both Apache and mod_perl
> > with
> > the same large files flags. <<<
> >
> > Can someone tell me what the command is to compile these two with the
> > "same large files flags"?? thanks!
>
> The easiest way is to get mod_perl to compile apache for you, which
> makes sure everything is compatible. See AxKit's INSTALL file for
> details on how to do that.
>
> Matt.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]