Re: pecl, zts, non-zts, fastcgi and Apache
| From: | jpauli | Date: | Tue, 28 Feb 2012 15:41:05 +0000 |
| Subject: | Re: pecl, zts, non-zts, fastcgi and Apache | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-58244@lists.php.net to get a copy of this message | ||
On Tue, Feb 28, 2012 at 3:37 PM, Tom Boutell <tom@punkave.com> wrote:
> On Mon, Feb 27, 2012 at 4:12 PM, William A. Rowe Jr.
> <wrowe@rowe-clan.net> wrote:
> >
> > No, 2.2 and 2.4 don't default to prefork, it's suboptimal, most linux
> > distros have moved away from it...
>
> Ubuntu starts out with the worker threaded MPM. However when you
> install the standard PHP package it switches Apache to the prefork
> MPM.
>
> Actually, the true story for performance is to kill Apache and let
Lighttpd or NginX do the job, with a pool of fcgi/fpm PHP processes
About having a ZTS mod_php inside a Worker-based Apache : I know Brian Moon
having tried that on a production host some time ago.
He shares experiences here :
http://doughboy.wordpress.com/2008/02/13/apache-worker-and-php/
Hope this helps, even if it is not a recommended architecture ;)
Julien.P
> --
> Tom Boutell
> P'unk Avenue
> 215 755 1330
> punkave.com
> window.punkave.com
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>