Guides 11791 Published by

TecMint published a tutorial about connecting NGINX to PHP-FPM using UNIX or TCP/IP Socket.



How to Connect NGINX to PHP-FPM Using UNIX or TCP/IP Socket

NGINX web server (as reverse proxy) serves PHP applications through the FastCGI protocol (as a backend application server). NGINX employs PHP-FPM (FastCGI Process Manager), an alternative PHP FastCGI implementation that runs in the background as a daemon, listening for CGI requests. It comes with extra features designed for powering heavy-loaded websites or web applications, but it can be used for sites of any size.



How to Connect NGINX to PHP-FPM Using UNIX or TCP/IP Socket