What is the best php-fpm installation for multi-instance apache

From: Date: Fri, 16 Dec 2022 09:27:21 +0000
Subject: What is the best php-fpm installation for multi-instance apache
Groups: php.install 
Request: Send a blank email to php-install+get-20562@lists.php.net to get a copy of this message
Hi, I have spent many years with a server with more than 150 user PHP websites. I have a front end reverse proxy apache for the 150 websites. Each website runs a prefork apache instance (with different userIDs) 2.4 + mod-php 7.4 following the philosophy described in https://cwiki.apache.org/confluence/display/httpd/DifferentUserIDsUsingReverseProxy This works fine, but I want to jump to event MPM and PHP-fpm. How do I have to configure PHP-fpm with each website thinking about security? a) Do I have to have different sockets for each backend instance apache or can it be shared (/run/php-fpm/www.sock)? b) Do I have to have different php-fpm pool servers for each website or can they be shared (/etc/php-fpm.d/www.conf)? Thanks you -- [image: Universidad de Almería] <https://www.ual.es/> Antonio Casado Rodríguez Administrador de Servicios de Red y Seguridad TIC Despacho 2.22, Edif. CITIC Email: acasado@ual.es Tel. +34 950214223 ------------------------------ Universidad de Almería Carretera Sacramento s/n 04120 La Cañada de San Urbano, Almería (España) Puede consultar la información adicional sobre confidencialidad de este email y protección de datos en nuestra página web: www.ual.es/lopd-email. Responsable del tratamiento: Universidad de Almería. Finalidad: Atender y dar respuesta a su petición o consulta y mantener los contactos y relaciones que se produzcan como consecuencia de la misma. Derechos: Para el ejercicio de derechos de protección de datos diríjase a www.ual.es/lopd-derechos.

« previous php.install (#20562) next »