From 9b5891e0a2b054582146bd7b3e8306e650abbb2d Mon Sep 17 00:00:00 2001 From: Olivier MILLAN <88877495+albator75@users.noreply.github.com> Date: Tue, 16 Dec 2025 12:44:30 +0100 Subject: [PATCH] fix: problem initializing php-fpm with multiple apps plugin (#699) Change names of php-fpm initialization fines to distinguish each app of a plugin in the php_wrapper. (cherry picked from commit 6381a1b89556d7faa8b150257a2f647d7ca70ad5) --- adm/php_wrapper | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/adm/php_wrapper b/adm/php_wrapper index 82abca5a..961419b4 100755 --- a/adm/php_wrapper +++ b/adm/php_wrapper @@ -7,8 +7,8 @@ # $3 : unix socket path used to tell with php-fpm process export MFMODULE_RUNTIME_GROUP=metwork -export PHPFPMCONF=${MFMODULE_RUNTIME_HOME}/tmp/config_auto/php-fpm."$1".conf -export WWWCONF=${MFMODULE_RUNTIME_HOME}/tmp/config_auto/www."$1".conf +export PHPFPMCONF=${MFMODULE_RUNTIME_HOME}/tmp/config_auto/php-fpm."$1"_"$2".conf +export WWWCONF=${MFMODULE_RUNTIME_HOME}/tmp/config_auto/www."$1"_"$2".conf export PHP_SOCKET_PATH="$3" export PHP_LOGFILE_PATH=${MFMODULE_RUNTIME_HOME}/log/app_"$1"_"$2".log