Re: Why FastCGI?

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

 



Greetings, Gunter Grodotzki.
In reply to Your message dated Thursday, March 25, 2021, 14:26:38,

> Maybe just a thought.. I think there would be great benefit for users,
> especially those running PHP in Docker. One current drawback, in the way how
> FCGI works/is implemented with PHP, you need to have a shared volume between
> Nginx and PHP.

Eh, why? If you do not upload files, you don't need a shared volume.

> If PHP-FPM would speak HTTP, then you could still run Nginx and PHP,

And will still need shared volume in same cases you would for CGI link.

> but other than being able to communicate via tcp there would be zero dependency
> between them.

Er, I use TCP for my PHP FPM. For years.

> This is also what is currently causing bad practices in Docker, where PHP
> is being shipped with Apache to avoid shared volumes, when Docker containers
> should really only be running a single process...

That says so much about people building these containers…


-- 
Sincerely Yours, Andrey Repin <anrdaemon@xxxxxxxxxxx>




[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux