[csw-users] ap2modphp5 with apache mpm
Sebastian Kayser
skayser at opencsw.org
Wed Mar 10 17:53:31 CET 2010
* Nicolai Schwindt <schwindt at dfki.uni-kl.de> wrote:
> > this is a question mainly to Mike Watters, but if anybody else can
> > answer I'd be thankful... :)
> >
> > I have tried in the past to use an apache worker (in stead of prefork)
> > together mpdphp5, but apache was complaining like this:
> >
> > "Apache is running a threaded MPM, but your PHP Module is not compiled
> > to be threadsafe. You need to recompile PHP."
> >
> > ...is this doable, or hasn't been done yet because it's problematic? If
> > the answer is yes, Are there any plans to compile modphp5 to be threadsafe?
>
> No, php is not threadsafe, if you need a worker other than prefork
> than disable the module and use php per cgi.
Out of curiosity: is it PHP which isn't thread-safe or the module for
apache? Are there any canonical references out there that say so?
Sebastian
More information about the users
mailing list