[opensuse] opensuse leap 15.1 apache php-fpm tcp/ip or unix socket
Dear opensuse list, I'm running opensuse 15.1 with apache 2.4.33. recently switched from apache2-mod_php7 to php-fpm what is the preferred way of running php-fpm in opensuse? via tcp-ip? SetHandler "proxy:fcgi://127.0.0.1:9000" or via unix socket? SetHandler "proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/" are there any pros / cons? looking forward for some user insights and experiences ;) thanks & greetings Becki -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Admin Beckspaced wrote:
Dear opensuse list,
I'm running opensuse 15.1 with apache 2.4.33. recently switched from apache2-mod_php7 to php-fpm
what is the preferred way of running php-fpm in opensuse?
via tcp-ip?
SetHandler "proxy:fcgi://127.0.0.1:9000"
or via unix socket?
SetHandler "proxy:unix:/var/run/php-fpm.sock|fcgi://localhost/"
are there any pros / cons?
Neither :-) I like to use the unix socket when I can, I'm sure it uses less resources. I have however also heard people argue that tcp/ip will likely be faster as that path will have received much more attention. -- Per Jessen, Zürich (4.4°C) http://www.cloudsuisse.com/ - your owncloud, hosted in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
Am 09.01.2020 um 07:58 schrieb Per Jessen:
Neither :-)
I like to use the unix socket when I can, I'm sure it uses less resources. I have however also heard people argue that tcp/ip will likely be faster as that path will have received much more attention.
thanks for sharing your insights ;) much appreciated! -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org
participants (2)
-
Admin Beckspaced
-
Per Jessen