On Tuesday, November 13, 2012 12:10:34 PM AL13N wrote: > Op dinsdag 13 november 2012 12:17:54 schreef Funda Wang: > > 2012/11/13 Thomas Spuhler <[email protected]> > > > > > Since this isn't a bug, I am brining it up here: > > > The 389-ds wants apache to run with the mpm_worker_module. > > > Apache-2.4 provides now this module as stabel > > > > > > When I do this (using mpm-worker I get this error: > > > Apache is running a threaded MPM, but your PHP Module is not compiled > > > to be threadsafe. You need to > > > recompile PHP > > > I am not quite sure how to proceed. What would be the disadvantage of > > > compiling PHP threadsafe? > > > > It is not turned on by default :( > > PHP? or mpm-worker? or a module that you require? > > if you compile threadsafe, does this mean it has a restriction on modules > to be threadsafe too, and maybe alot of those aren't?
the 389-ds needs the apache with mpm-worker. This is now a stable module in 2.4 which we have. but PHP needs to be compiled threadsafe in order to use it There isn't a lot of information on how to complie php threadsafe. I did some research and fedora compiles it with --enable-maintainer-zst They then have a little file that decides if mpm-prefork is used or not and loads the correct php- module Whitout this, the apache mpm-worker doens't make much sense. -- Best regards Thomas Spuhler
