httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rose, John B" <jbr...@utk.edu>
Subject Re: [users@httpd] Apache and Wordpress file permissions options
Date Wed, 12 Aug 2015 17:06:12 GMT
So if we are using 2.2 Apache then we could move to "worker" mpm with
php-fpm.

At the moment we wanted to fix this Wordpress/change owner issue quickly.

To users wanting to use point and click tools to load images, themes and
plugins etc in Wordpress and concerned about file ownership it is a
necessity.

Plus we cannot monitor their quotas.


So my question is, while using prefork and php-fpm isn't ideally
efficient, it isn't a problem if we use prefork and php-fpm. That won't
break anything?


Thanks


On 8/12/15 12:41 PM, "Rich Bowen" <rbowen@rcbowen.com> wrote:

>
>
>On 08/11/2015 12:43 PM, Rose, John B wrote:
>> We are using Apache 2.2, so we are using prefork.
>>
>> So no problems using PHp-fpm and prefork on Apache 2.2?
>
>php-fpm is a separate service from apache httpd. Requests are proxied
>from Apache httpd to php-fpm. So while it doesn't matter which MPM
>you're running on the front-end server (or, indeed, if you're running
>Apache httpd at all), we do rather strongly recommend that you 1)
>upgrade to 2.4 if at all possible, and 2) don't use prefork unless
>there's some compelling reason to do so. In the old days, the compelling
>reason to use prefork was that you were using it in conjunction with
>mod_php, which had possible threading problems (to oversimplify). If
>you're using php-fpm instead of using mod_php, then there's really no
>reason any more to use prefork.
>
>
>-- 
>Rich Bowen - rbowen@rcbowen.com - @rbowen
>http://apachecon.com/ - @apachecon
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
>For additional commands, e-mail: users-help@httpd.apache.org
>


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


Mime
View raw message