You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
I am new in docker, but it is very easily to set PHP-FPM using unix socket in normal LEMP stack.
location ~ \.php$ {
include snippets/fastcgi-php.conf;
fastcgi_pass unix:/var/run/php/php7.2-fpm.sock;
}
also TCP is having network protocol overhead, which can affect speed and throughput.
Describe the solution you'd like
Possible to have php-fpm with unix socket option? If i am not mistake, it is currently using the default port 9000 as the mapping shown in docker ps
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
I am new in docker, but it is very easily to set PHP-FPM using unix socket in normal LEMP stack.
also TCP is having network protocol overhead, which can affect speed and throughput.
Inspired by this article...
https://medium.com/@shrikeh/setting-up-nginx-and-php-fpm-in-docker-with-unix-sockets-6fdfbdc19f91
Describe the solution you'd like
Possible to have php-fpm with unix socket option? If i am not mistake, it is currently using the default port 9000 as the mapping shown in
docker ps
The text was updated successfully, but these errors were encountered: