Comments on: How to install EspoCRM with Nginx on an Ubuntu VPS https://www.rosehosting.com/blog/how-to-install-espocrm-with-nginx-on-an-ubuntu-vps/ Premium Linux Tutorials Since 2001 Thu, 08 Dec 2022 16:23:39 +0000 hourly 1 https://wordpress.org/?v=6.5.3 By: admin https://www.rosehosting.com/blog/how-to-install-espocrm-with-nginx-on-an-ubuntu-vps/#comment-44931 Sat, 03 Sep 2016 13:35:42 +0000 https://www.rosehosting.com/blog/?p=17886#comment-44931 In reply to Александр.

Yes, there is a difference between the two. PHP-FPM can listen on Unix and TCP sockets. Unix socket is /var/run/php5-fpm.sock and TCP is 127.0.0.1:9000.
The fundamental difference will be that the Unix sockets can only be accessed by the local machine while the TCP sockets are using the network stack and can be accessed by everyone that has access to the server.

The Unix socket is like a file in Linux and can be accessed only by the program that has permission and ownership over it. With Unix sockets you can’t have your web server and php run on two different machines.

]]>
By: Александр https://www.rosehosting.com/blog/how-to-install-espocrm-with-nginx-on-an-ubuntu-vps/#comment-44930 Sat, 03 Sep 2016 11:18:26 +0000 https://www.rosehosting.com/blog/?p=17886#comment-44930 Is there a fundamental difference between
listen = /var/run/php5-fpm.sock
and
listen = 127.0.0.1:9000; ?

]]>