Re: mod_cgi(d) vs mod_proxy_fcgi

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.dev@xxxxxxxxx>
Sent: September 22, 2019 10:07 AM
To: users@xxxxxxxxxxxxxxxx <users@xxxxxxxxxxxxxxxx>
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 <sawozny@xxxxxxxxxxx> 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-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux