[csw-users] ap2modphp5 with apache mpm

Nicolai Schwindt schwindt at dfki.uni-kl.de
Wed Mar 10 16:24:57 CET 2010


> 
> Hi,
> 
>   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.


Nicolai




More information about the users mailing list