Re: Why FastCGI?

From: Date: Thu, 01 Apr 2021 09:53:33 +0000
Subject: Re: Why FastCGI?
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-327531@lists.php.net to get a copy of this message
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@freemail.ru>

« previous php.general (#327531) next »