[imp] Apache child processes segfaults

Charlie Reitsma reitsmac at denison.edu
Fri May 30 18:07:25 PDT 2003


I haven't seen anyone mention this from the php.net web site:
You need to compile PHP with the --with-mcrypt[=DIR] parameter to enable this 
extension. DIR is the mcrypt install directory. Make sure you compile libmcrypt 
with the option --disable-posix-threads. 

Maybe that has something to do with the mcrypt related PHP crashes and Apache 
segfaults.

Quoting Raphaël RIGNIER <admin.prepa.cpe at wanadoo.fr>:

> Well,
> 
> I was very lucky by looking in groups.google.com
> A guru have found the solution by debugging apache with gdb.
> 
> For now I don't use mcrypt any more. horde crashes when PHP has mcrypt
> support (dynamic or static).
> 
> It's probably because of my libmcrypt version is too recent : 2.5.7.
> I had much trouble to compile it with PHP 4.3.1 because configure script
> didn't recognize it.
> So I had to modify source code to enforce 2.4.x compatibility but I don't
> think it was a good idea...
> 
> this PHP bug is corrected in CVS but I don't have courage for now...
> 
> It was a pleasure to help you.
> 
> I hope someone would do for my prob.
> 
> Raphaël
> 
> ----- Original Message -----
> From: "Gonzalo Servat" <gs at webtastic.com.au>
> To: "Raphael RIGNIER" <admin.prepa.cpe at wanadoo.fr>
> Cc: <imp at lists.horde.org>
> Sent: Wednesday, May 28, 2003 4:36 PM
> Subject: RE: [imp] Apache child processes segfaults
> 
> 
> > On 28/05/2003 9:42 AM +0200 Raphael RIGNIER wrote:
> >
> > > Hi!
> > >
> > > I had the same error.
> > > It was because of mcrypt support in PHP module.
> > >
> > > when compiling PHP try using mcrypt as a dynamic library.
> > > try with configure --with-libmcrypt=shared,/path/to/libmcrypt.
> > >
> > > horde/IMP wont segfaults anymore.
> > >
> > > But your problem could come from elsewhere.
> > >
> > > good luck!
> >
> > Thanks Raphael!
> >
> > I've now installed mcrypt, mhash (dependency of mcrypt) and libmcrypt
> > then recompiled PHP, installed it and so far so good. Lets see how it
> > goes over the next few days eh :)
> >
> > I would love to know how you found out it was mcrypt doing it.
> >
> > Thanks again! :)
> >
> > Best regards,
> > Gonzalo
> >
> 
> 
> -- 
> IMP mailing list
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 


Charlie Reitsma
Systems Engineer


More information about the imp mailing list