You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by David Benfell <be...@parts-unknown.org> on 2015/01/29 20:35:29 UTC

[users@httpd] moving to fastcgi, was Re: [users@httpd] SOLVED MYSTERIOUSLY: Re: [users@httpd] apache apparently starts, crashes, logs absolutely nothing

On Thu, Jan 29, 2015 at 10:50:04AM +0000, Daniel wrote:
> The thing is more about stopping the use of mod_php in favor of fcgi solution
> such as leave the php processing to php-fpm, that will enable you to use the so
> much more performant event mpm in httpd, and from there you will just have to
> proxy requests to php files from httpd to php-fpm through mod_proxy_fcgi.
> 
> And yes trying to use anything other than prefork with such thing as mod_php
> will be torture.
> 
> Move away from mod_php as soon as you can.
> 
Can you point me at a HOWTO for this? I'm not having much luck with
this.

Thanks!
-- 
David Benfell <be...@parts-unknown.org>
See https://parts-unknown.org/node/2 if you don't understand the
attachment.

Re: [users@httpd] moving to fastcgi, was Re: [users@httpd] SOLVED MYSTERIOUSLY: Re: [users@httpd] apache apparently starts, crashes, logs absolutely nothing

Posted by Daniel <df...@gmail.com>.
2015-01-29 20:35 GMT+01:00 David Benfell <be...@parts-unknown.org>:

> On Thu, Jan 29, 2015 at 10:50:04AM +0000, Daniel wrote:
> > The thing is more about stopping the use of mod_php in favor of fcgi
> solution
> > such as leave the php processing to php-fpm, that will enable you to use
> the so
> > much more performant event mpm in httpd, and from there you will just
> have to
> > proxy requests to php files from httpd to php-fpm through mod_proxy_fcgi.
> >
> > And yes trying to use anything other than prefork with such thing as
> mod_php
> > will be torture.
> >
> > Move away from mod_php as soon as you can.
> >
> Can you point me at a HOWTO for this? I'm not having much luck with
> this.
>
> Thanks!
> --
> David Benfell <be...@parts-unknown.org>
> See https://parts-unknown.org/node/2 if you don't understand the
> attachment.
>


Hello,

You can find guidance at this phenomenal list of explanations and
configuration examples:

http://wiki.apache.org/httpd/PHP-FPM

-- 
*Daniel Ferradal*
IT Specialist

email         dferradal@gmail.com
linkedin     es.linkedin.com/in/danielferradal