Hi Yann,

That's a great article.  I read it while I was researching this topic and it 
was great about discussing how mod_proxy, mod_proxy_fcgi and PHP-FPM 
interrelate, but I was still left unclear on whether or not that stack still 
relied upon basic mod_cgi as it's backbone or not.  I suppose I should have 
taken my hint from the fact that it didn't mention mod_cgi at all.  🙂

Thanks for your response,

Scott

________________________________
From: Yann Ylavic <ylavic....@gmail.com>
Sent: September 22, 2019 10:07 AM
To: users@httpd.apache.org <users@httpd.apache.org>
Subject: Re: [users@httpd] mod_cgi(d) vs mod_proxy_fcgi

Hi Scott,

On Sat, Sep 21, 2019 at 2:12 AM Scott A. Wozny <sawo...@hotmail.com> wrote:
>
> Do mod_cgi and mod_cgid have any sort of dependency relationship to 
> mod_proxy_fcgi? I only want to use CGI as a means to execute PHP code so, 
> mod_proxy, mod_proxy_fcgi and PHP-FPM sounds like the stack I need, but I 
> wanted to confirm that “classic” mod_cgi(d) is not required, similar to how 
> mod_php is not needed to support PHP-FPM.  I don't see any relationship 
> between them in the module documentation but I wanted to make sure I wasn't 
> missing something.

Yes, since PHP-FPM runs remotely, httpd acts as the proxy here so
mod_proxy_fcgi is all you need.
You may want to read https://cwiki.apache.org/confluence/display/HTTPD/PHP-FPM

Regards,
Yann.

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

Reply via email to