Re: [users@httpd] proper MPM and mod_php

2016-01-08 Thread Christopher Schultz
Eric,

On 1/7/16 5:47 PM, Eric Covener wrote:
> On Thu, Jan 7, 2016 at 4:51 PM, Rose, John B  wrote:
>> Is using "event" MPM and mod_php ok, or should "prefork" always be used with
>> mod_php?
> 
> The conventional wisdom is prefork-only if you must use mod_php.

I was just looking at this yesterday on my Amazon Linux VM, and the
package-managed config for mod_php looks like this:


  LoadModule php5_module modules/libphp-5.5.so



  LoadModule php5_module modules/libphp-zts-5.5.so


So it looks like there is a module that has been built with an eye
toward thread-safety. That module may be available in John's environment
as well.

Thanks,
-chris

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



Re: [users@httpd] proper MPM and mod_php

2016-01-07 Thread Eric Covener
On Thu, Jan 7, 2016 at 4:51 PM, Rose, John B  wrote:
> Is using "event" MPM and mod_php ok, or should "prefork" always be used with
> mod_php?


The conventional wisdom is prefork-only if you must use mod_php.

-
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org



[users@httpd] proper MPM and mod_php

2016-01-07 Thread Rose, John B
Apache 2.4
Red Hat Linux

Is using "event" MPM and mod_php ok, or should "prefork" always be used with 
mod_php?

Thanks