Differences and dis/advanages between: Fast-CGI, CGI, Mod-PHP, SuPHP, PHP-FPM

CGI and FastCGI are two protocols not specific to PHP: CGI scripts is a way how to run a server side script (not only PHP!) when a HTTP request arrives. In this setup, the web server launches a new CGI process for every incoming request, causing significant performance overhead. FastCGI is a “better CGI” – … Read more

nginx: connect() failed (111: Connection refused) while connecting to upstream – after update nginx –

After many hours trying to find the source of the problem (many install and purge) The problem was, for me, the use of different port “name” in nginx and php. in php (/etc/php/8.0/fpm/pool.d/bienestarmutuo-org8050.conf) i have in nginx (/etc/nginx/sites-available/bienestarmutuo.org.conf) i have This was changed to: in nginx in php restart php and nginx, everything Work again. … Read more